Wocart

@wocart/theme v4.1.0


@wocart/theme / index / RichTextDocument

Type Alias: RichTextDocument

RichTextDocument = object

A rich-text value. A closed format: anything not listed here is invalid, so no stored value can carry markup, scripts or styles. version lets the format grow; a reader rejects a version it does not know. Like every rich-text type it is plain JSON, so a preset's props can hold one.

Properties

content

content: readonly RichTextBlock[]


type

type: "doc"


version

version: 1