R
I

MarkDefinition

tested

A 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 MarkDefinition

Properties

PropertyTypeDescription
typereadonlystring
specreadonlyMarkSpec
meta?readonlyMarkMeta | undefined
inputRules?readonlyreadonly InputRuleSpec[] | undefined