Skip to content

Vizel API / core/src / vizelDefaultSlashMenuCommands

Variable: vizelDefaultSlashMenuCommands

ts
const vizelDefaultSlashMenuCommands: readonly VizelCommand[];

Defined in: packages/core/src/extensions/slash-command.ts:16

Default slash command list: the subset of vizelDefaultCommands that opts into the slash menu surface.

Filtering by surfaces.slashMenu keeps mark-only format commands (bold, italic, ...) out of the slash menu while letting block and insert commands appear.

Released under the MIT License.