-
- Downloads
[FIX] web_editor: prevent removing a main editable area
When a snippet part is removed, like a column, we check that one of its ancestor has a snippet editor attached and we remove all the empty element up to and including that ancestor if possible. This way, if we remove the last column of most snippet, the whole snippet is removed. The problem is when that ancestor is a main editable area that should not be able to be removed. The case is currently probably never occuring but it could be backported if needed. This is made in preparation of the mega menu task, during whose implementation it was discovered.
Loading
Please register or sign in to comment