@mocanvas/mocanvas · interface

RichTextExtension

interface RichTextExtension

The minimum an entry of the extension list has to be.

A real TipTap Node, Mark or Extension instance satisfies this, so [...tipTapDefaultExtensions, MyTipTapExtension] is well typed and an app can extend the default set without mocanvas depending on TipTap's types.


Properties · 1

readonly name: string

mocanvas is built by Symbio. Free for non-commercial, non-profit and development use; commercial use needs an agreement. Not affiliated with or endorsed by tldraw.