Hi ! I would like to remove the option Ctrl + Z in the Modeler version 0.11.
Someone can helpme ?
Thanks
Hi ! I would like to remove the option Ctrl + Z in the Modeler version 0.11.
Someone can helpme ?
Thanks
What did you try so far?
Hello nikku .
I tried with :
document.onkeypress = function(e) {
if(e.ctrlKey && e.keyCode == 90) {
return false;
}
}
I found a way to clear the history to Undo
bpmnjs.invoke(function(commandStack) {
commandStack.clear();
}
Great to hear you found a solution. We call this clearing the undo history. I updated the thread title so that others can find your solution more easily.
Ok nikku , perfect !!!
Thanks