Bpmn-js undo/redo example

Could someone post a code example with undo/redo buttons (similar to desktop application) or link to such example?

Thanks in advance :slight_smile:

    "bpmn-js": "^6.5.1",
    "bpmn-js-properties-panel": "^0.33.2",
    "camunda-bpmn-moddle": "^4.4.0",

Here’s a Sandbox with undo/redo functionality: https://codesandbox.io/s/bitter-thunder-kkqeg?file=/src/index.js

In this Sandbox, if you press the A key, it performs an undo, if you press any other key, it performs a redo. You can easily add the buttons yourself :slight_smile:

1 Like