BlockNode
type BlockNode = { attrs?: Record<string, unknown>; children?: BlockNode[]; id: string; text?: TextSpan[]; type: string;};Defined in: document.ts:17
Properties
Section titled “Properties”| Property | Type | Description | Defined in |
|---|---|---|---|
attrs? | Record<string, unknown> | - | document.ts:20 |
children? | BlockNode[] | Nested blocks (e.g. list items in a list). | document.ts:24 |
id | string | - | document.ts:18 |
text? | TextSpan[] | Inline content for text-bearing blocks. | document.ts:22 |
type | string | - | document.ts:19 |