From 41df1f378b5e40cfc96e0baebb11ab7b0afe4ca0 Mon Sep 17 00:00:00 2001 From: jdotzki Date: Tue, 6 Jan 2015 16:00:11 +0100 Subject: [PATCH] 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 --- lib/Modeler.js | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/Modeler.js b/lib/Modeler.js index 747510c8..ec064b1a 100644 --- a/lib/Modeler.js +++ b/lib/Modeler.js @@ -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'),