Empower your AI to directly edit documents in real time. Now production ready.
Read moreTiptap AI Toolkit - Empower your AI to directly edit documents in real time. | Product Hunt

keyboardShortcut command

The keyboardShortcut command will try to trigger a ShortcutEvent with a given name.

Parameters

name: String

The name of the shortcut to trigger.

Use the keyboardShortcut command

editor.commands.keyboardShortcut('undo')