Richtexteditor Ui - EditorDocument

30 Sep 20261 minute to read

Public document model — the same shape used for value when
valueFormat is 'json'. Always has type: 'doc' and may have any
registered block-level children.

Properties

attrs Record

Node attributes (alignment, indent, color, etc.).

children BlockNode[]

Child block nodes in the document.

marks EditorMark[]

Marks applied to this node (for block-level mark support).

schemaVersion number

Schema version — used for future migration handling.