[editor] Improve delete key logic
This now uses "closest" to check parent nodes. This still does not work properly since some elements can not be clicked and the event returns the body element. This might be fixed if a way to make those elements clickable is found.
Please register or sign in to comment