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