@mocanvas/editor · interface

TiptapNode

interface TiptapNode

One node of a rich-text document.

Structural and open: type is the only field anything here relies on, and everything else is whatever the installed extensions put there.


Properties · 5

attrs?: Record<string, unknown>
content?: TiptapNode[]
marks?: {
text?: string
type?: 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.