mirror of
https://github.com/sartography/bpmn-js.git
synced 2025-01-09 08:41:59 +00:00
a525c633a2
* only register keyboard bindings that are backed by actual editor actions * rename BpmnKeyBindings -> BpmnKeyboardBindings for parity with diagram-js@latest * sub-class and override _keyboardBindings_ service provided by diagram-js * extend spec to verify default actions
12 lines
274 B
JavaScript
12 lines
274 B
JavaScript
import KeyboardModule from 'diagram-js/lib/features/keyboard';
|
|
|
|
import BpmnKeyboardBindings from './BpmnKeyboardBindings';
|
|
|
|
export default {
|
|
__depends__: [
|
|
KeyboardModule
|
|
],
|
|
__init__: [ 'keyboardBindings' ],
|
|
keyboardBindings: [ 'type', BpmnKeyboardBindings ]
|
|
};
|