mirror of
https://github.com/ueberdosis/tiptap.git
synced 2024-12-19 05:37:51 +08:00
234 B
234 B
keyboardShortcut
The keyboardShortcut
command will try to trigger a ShortcutEvent with a given name.
Parameters
name: String
The name of the shortcut to trigger.
Usage
editor.commands.keyboardShortcut('undo')