Skip to main content
Modular Documentation
Guides
Reference
Reference
/
@modular/sdk/editor
KEY_ESCAPE_COMMAND
const
Dispatched whenever the `'Escape'` key is pressed, any modifier keys may be down.
const KEY_ESCAPE_COMMAND: LexicalCommand<KeyboardEvent>
Import
import { KEY_ESCAPE_COMMAND } from '@modular/sdk/editor';