Vocabulary.marks
property · packages/richtext-dom/src/host.ts:22
readonly marks?: RichText.MarkRegistry | undefinedRich text / foldkit-richtext-dom/host
interface · packages/richtext-dom/src/host.ts:21
interface Vocabulary {
readonly marks?: RichText.MarkRegistry | undefined
readonly nodes?: RichText.NodeRegistry | undefined
}The vocabulary an editor resolves edits against: the mark and node registries run
consults to refuse an edit a declaration forbids (§125). Both are optional, and a
field left out leaves run's defaults in place.
Vocabulary.marksproperty · packages/richtext-dom/src/host.ts:22
readonly marks?: RichText.MarkRegistry | undefinedVocabulary.nodesproperty · packages/richtext-dom/src/host.ts:23
readonly nodes?: RichText.NodeRegistry | undefined