# 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
```js
editor.commands.keyboardShortcut('undo')
```