If a node name is changed and 'enter' is pressed to finalize the edition, the editor will start to spam a new edition event for each click made on the canvas.
To reproduce the following steps use the published VS Code extension.
- Create a BPMN or DMN file.
- Create a node.
- Change the name and press enter to confirm.
- Save the file (ctrl + s will do it).
- Click on the canvas, it will count as a new edition (isDirty indicator will show up). (repeat 4-5).