[BUG] Delete keyboard shortcut listed in docs but not working in the editor
Describe the bug The documentation shows DEL → Delete selected element, but the shortcut does not work anywhere in the editor (tables, notes, areas, relationships). This suggests the feature is documented but not implemented.
To Reproduce Steps to reproduce the behavior:
- Create any element
- Select it
- Press Delete
- Nothing happens
Expected behavior Pressing Delete removes the selected element as documented.
Screenshots
https://github.com/user-attachments/assets/c914ea71-4e56-4946-a3b3-5bc3ac7841f0
I’ve attached:
📸 Screenshot from the official shortcut list
🎥 Screen recording showing that pressing Delete has no effect
Desktop: OS: macOS Browser: Google Chrome (latest) Reproducible: Yes (both normal and incognito mode)
Hey! I’d like to work on this issue.
I’ve already reproduced the bug and confirmed that the Delete shortcut is listed in the documentation but never actually handled anywhere in the keyboard event flow. I’ve started investigating how keyboard interactions tie into the editor canvas, and I’m working on adding a proper global keydown handler that triggers the existing delete logic for all selectable elements.
Please assign this issue to me — I’ve already begun implementing a fix and will open a PR soon.Happy to collaborate or adjust the approach based on any guidance!
no need for this global keydown handle. the del function in controlpanel needs to be fixed and you need to check if the selectedElement is getting set correctly
Hi @1ilit I’ve resolved the issue and opened a pull request. Could you please review it and merge it if everything looks good? If any additional changes are needed, please let me know. Thank you!