Rich text / foldkit-richtext-dom/editor

slashEntries

const · packages/richtext-dom/src/editor.ts:200

const slashEntries: ReadonlyArray<SlashEntry<EditorEvent>>

The entries the editor offers, in menu order: the text blocks a caret can become, the standard vocabulary's quote, lists, and code block, then the marks it can carry. Each is a Message this module already defines, so a chosen entry needs no editing vocabulary of its own. The standard kinds are named, not required: a placement whose vocabulary lacks them refuses the entry's edit, as it refuses any edit it does not declare.