I
MarkDefinition
testedA mark definition: schema contribution (attrs, exclusivity, rank, toDOM, parseDOM) + metadata. Marks are data-only — the view renders/parses them via the spec, which is what makes them fully modular through the registry.
Signature
ts
interface MarkDefinitionProperties
| Property | Type | Description |
|---|---|---|
typereadonly | string | — |
specreadonly | MarkSpec | — |
meta?readonly | MarkMeta | undefined | — |
inputRules?readonly | readonly InputRuleSpec[] | undefined | — |