@mocanvas/mocanvas · interface

RichTextHtmlOptions

interface RichTextHtmlOptions

This one ships without a description. The signature above is read from the package, and the guides cover the area it belongs to.


Properties · 2

extensions?: readonly RichTextExtension[]

The node and mark extensions the document is serialized with. Defaults to tipTapDefaultExtensions; pass an app's own list to render nodes mocanvas does not know about.

unknownTypes?: Set<string>

Collects the node and mark types no extension covered, for warnings.

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.