Interface: RichTextBlock
Defined in: packages/core/src/richText.types.ts:24
One block of a rich-text value: its kind, and the ordered spans it reads as.
Properties
kind
kind:
RichTextBlockKind
Defined in: packages/core/src/richText.types.ts:26
What the block is, which decides how a renderer wraps its spans.
spans
spans: readonly
RichTextSpan[]
Defined in: packages/core/src/richText.types.ts:28
The runs the block reads as, in order. An empty array is a block with no text.