Good morning team!
I am working on a Camunda Modeler plugin which should implement an editor (sort of…).
I implemented a DisableModeling feature like the one implemented on bpmn-js-token-simulation module, but I still have one problem:
When I press the space bar, it seems that the handTool module intercepts the input. How can I disable it? I tried to do it on my module using the same ignoreIfModelingDisabled function (as written below), but it does not seem to solve the issue, every time the function interceptor for editorActions receives a trigger from ‘activateHandtool’.
What am I doing wrong?
ignoreIfModelingDisabled(handTool, 'activateMove');
ignoreIfModelingDisabled(handTool, 'activateHand');
ignoreIfModelingDisabled(handTool, 'toggle');
I tried also to add listeners to the keyboard module, without effect.
I made a small example here.