# EditingKeystrokeCallback

typedef

Command name or a callback to be executed when a given keystroke is pressed.

[See source](https://github.com/ckeditor/ckeditor5/blob/master/packages/ckeditor5-core/src/editingkeystrokehandler.ts#L79)

#### Value

`string | ( ev: KeyboardEvent, cancel: () => void ) => void`

---

Full index of the CKEditor 5 API reference: [llms.txt](llms.txt)
