Skip to main content
Modular Documentation
Guides
Reference
Reference
/
@modular/sdk/editor
KEY_DELETE_COMMAND
const
Dispatched whenever the `'Delete'` key is pressed (Fn+Delete on macOS).
const KEY_DELETE_COMMAND: LexicalCommand<KeyboardEvent>
Import
import { KEY_DELETE_COMMAND } from '@modular/sdk/editor';