Skip to main content
Modular Documentation
Guides
Reference
Reference
/
@modular/sdk/editor
KEY_MODIFIER_COMMAND
const
const KEY_MODIFIER_COMMAND: LexicalCommand<KeyboardEvent>
Import
import { KEY_MODIFIER_COMMAND } from '@modular/sdk/editor';
Notes
deprecated
in v0.31.0, use KEY_DOWN_COMMAND and check for modifiers directly. Dispatched after any KeyboardEvent when modifiers are pressed