Undo Redo not working?

In your demo page ( http://demo.bpmn.io/new ), the undo, redo is working fine but when I download the seed file, It is not working in my local system. Is that because you have not updated it in download version or something else ? Please suggest.

Thanks in advance.

Hey @KannaA,

are you talking about the bpmn-js-seed project? Undo/redo is supported, but you have to bind the keyboard events to the document first:

in modeler.js:

// create modeler
var bpmnModeler = new BpmnModeler({
  container: '#canvas',
  keyboard: { bindTo: document }
});
3 Likes

Super, Thanks @pedesen.