Interface: RichTextSpan
Defined in: packages/core/src/richText.types.ts:14
A run of text and what is true of it. Inert: nothing here is parsed or evaluated at render.
Properties
href?
optionalhref?:string
Defined in: packages/core/src/richText.types.ts:20
Link target for the whole run. Absent leaves the run unlinked.
marks?
optionalmarks?: readonlyRichTextMark[]
Defined in: packages/core/src/richText.types.ts:18
Emphasis over the whole run. Absent and empty mean the same thing: plain text.
text
text:
string
Defined in: packages/core/src/richText.types.ts:16
The literal text of the run. Never markup — a tag here renders as the characters typed.