Intent.command
property · packages/richtext-dom/src/events.ts:21
readonly command?: RichText.CommandThe semantic command to run, when the event maps to one.
Rich text / foldkit-richtext-dom/events
interface · packages/richtext-dom/src/events.ts:19
interface Intent {
readonly command?: RichText.Command
readonly history?: 'undo' | 'redo'
readonly preventDefault: boolean
}Intent.commandproperty · packages/richtext-dom/src/events.ts:21
readonly command?: RichText.CommandThe semantic command to run, when the event maps to one.
Intent.historyproperty · packages/richtext-dom/src/events.ts:23
readonly history?: 'undo' | 'redo'A history intent: undo or redo, which are editor intents, not commands.
Intent.preventDefaultproperty · packages/richtext-dom/src/events.ts:24
readonly preventDefault: boolean