keyboard-plugin
Install
import { Keyboardlugin } from '@naetverkjs/keyboard';
editor.use(KeyboardPlugin);
This plugin currently registers the following buttons to an action
Key | Action |
---|---|
Delete | Removes the selected nodes |
Space | Opens the context menu - if available - at the center of the screen |