Undo-stack is lost when I drill into a decision
marstamm opened this issue · comments
Describe the Bug
When I use the drill-down option, I loose my command stack of the DRD
Steps to Reproduce
Steps to reproduce the behavior:
- open a DRD
- Add a decision + change it to decision table
- Open the decision table
- get back to DRD
- Press CTR+Z
- Nothing happens
If you report a modeling related issue, ensure you can reproduce it on demo.bpmn.io ✔️
Expected Behavior
The command stack is persisted, I can undo once I am in the DRD viewer.
Alternative:
The command stack is global and I switch views when an action is performed in another element, similar to sub processes in bpmn-js
Environment
Please complete the following information:
- Browser: [e.g. IE 11, Chrome 69]
- OS: [e.g. Windows 7]
- Library version: [e.g. 2.0.0]
I can reproduce this. With the current implementation of separate command stacks for each editor I'd at least expect to be able to undo if I didn't make any changes except for switching the editor.