Skip to content

Vizel API / core/src / VizelSlashCommandStorage

Interface: VizelSlashCommandStorage

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

Reactive storage published to framework suggestion renderers.

Svelte 5's mount() and the React / Vue renderers all read the locale from editor.extensionStorage.slashCommand because the suggestion command / items callbacks carry only the editor, not the locale.

Properties

locale

ts
locale: VizelLocale;

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

Locale used to derive VizelCommandSpec view data in the menu.

Released under the MIT License.