Vizel API / core/src / VizelShortcutSpec
Interface: VizelShortcutSpec
Defined in: packages/core/src/builders/types.ts:176
Platform-specific keyboard shortcut.
Format follows Tiptap's keymap notation: Mod resolves to Cmd on macOS and Ctrl elsewhere; Alt and Shift carry their usual meaning. Examples: Mod-B, Mod-Shift-1, Alt-ArrowUp.
The two fields exist because some commands intentionally differ across platforms. When they coincide, set both to the same string.
Properties
mac
ts
readonly mac: string;Defined in: packages/core/src/builders/types.ts:178
Shortcut string for macOS.
other
ts
readonly other: string;Defined in: packages/core/src/builders/types.ts:180
Shortcut string for other platforms (Windows / Linux).