feature(keyboard): add keyboard service to modeling modules

This makes a default set of keystrokes available to the user
if applications bind the keyevents via keyboard.bind(someNode).

Related to bpmn-io/diagram-js#61
This commit is contained in:
jdotzki 2015-01-06 16:00:11 +01:00 committed by Nico Rehwaldt
parent 2019c658df
commit 41df1f378b

View File

@ -63,6 +63,7 @@ Modeler.prototype._interactionModules = [
Modeler.prototype._modelingModules = [
// modeling components
require('diagram-js/lib/features/keyboard'),
require('diagram-js/lib/features/snapping'),
require('diagram-js/lib/features/move'),
require('diagram-js/lib/features/resize'),