DH-Center-Tuebingen/ThesauRex

Delete element

Closed this issue · 4 comments

v1r0x commented

There should be three variants of deleting an element

  • Delete element and all its descendants
  • Delete element and move all descendants one level up
  • Delete element and move all descendants to the top level

The three variants are only relevant if the element has children. If not, a simple delete menu item suffices.

v1r0x commented

I added a second Delete option in the context menu. With the context menu plugin it is not possible to dynamically display/hide elements in the menu.

v1r0x commented

With the context menu plugin it is not possible to dynamically display/hide elements in the menu

Seems that it is possible. Added another commit with a dynamic context menu.

👍