I noticed it’s possible to duplicate the Content block under a Dropdown element, however it cannot be deleted. This seems to be a rather large issue as one can easily get their menu into an unrecoverable state that way, needing to revert back to an older page design/revision or otherwise restoring from a site backup.
If the Content block can’t be deleted (which makes sense why it’s unable to be deleted), then it also should not be duplicatable in the same Dropdown element, IMO.
Steps to reproduce:
Add a new Nav Nestable element
In the Dropdown element (created by default), take the Content block and duplicate it
Now try to delete the new Content block from within the Dropdown element, it will be greyed out and unable to be deleted.
I’m not entirely sure when this was introduced, but I can reproduce it on 1.8.3.
Unfortunately I am not able to reproduce it. Can you maybe record a small screencast demonstrating the issue and showing and explaining the exact steps?
That’s very strange it isn’t reproducible. After reading your comment I thought first maybe it was a side-effect of Advanced Themer for example, but I tried disabling it just now and same issue occurs. I’ve recorded a short video for you.
For me, I can see that I can’t copy from the UI, however if I hit “Command+C” in Safari on macOS (not sure if it’s unique to that set up), you can see from the video that it clearly copies and pastes again. It’s very odd.
thanks for the update. As the title stated “duplicating” I tried to duplicate. I did not try copy pasting. I was now able to reproduce the issue and added it to our bug tracker.
Ah sorry, I should have made that more clear in my reproduction steps, my apologies on that I’m happy to hear it’s reproducible though and will be addressed.
It seems this issue hasn’t been resolved yet, and I was able to encounter a very similar issue again but this time with the special “Nav Items” sub-element.
Hi Dustin,
Correct, the task is still in progress (see title).
The nav items block can not be deleted or duplicated, because otherwise nothing (JS + styles) will work. From somewhere the code must know where it should apply to
The problem is that it can be duplicated by control-C and control-V on the keyboard, that’s the issue being reported. The menu doesn’t allow for it to be duplicated or deleted but it doesn’t block the behaviour from keyboard shortcuts. Initially reported with the dropdown part, just adding that it also happens to nav items too.
This bug has been open for a while now, hoping this will be resolved soon.