TextSpan
type TextSpan = { marks?: MarkInstance[]; text: string;};Defined in: document.ts:12
A run of text with an optional set of marks.
Properties
Section titled “Properties”| Property | Type | Defined in |
|---|---|---|
marks? | MarkInstance[] | document.ts:14 |
text | string | document.ts:13 |