The keyboardShortcut command will try to trigger a ShortcutEvent with a given name.
keyboardShortcut
name: String
The name of the shortcut to trigger.
editor.commands.keyboardShortcut('undo')