Open annezazu opened 3 years ago
Oh no, this one was implemented as a feature 😄
Implemented in https://github.com/WordPress/gutenberg/issues/21743.
The button block does the same thing, and I think the two are very comparable and should work similarly.
I suggest we need design feedback on this, as it seems more like a general editor behavior that should be made consistent across blocks.
Oh whoa interesting! I think if it were more reversible this would be less jarring :D
You can hit enter to split into two blocks again, but the original link url will be lost from the deletion of the block.
Yeah :) To me, that feels less reversible. Plus once you do that there's no indication that a link is missing.
Speaking to the "submenu disappears" aspect (circling the cursor in the video), that should be fixed in #29869.
Edit: and if not by that, then by https://github.com/WordPress/gutenberg/pull/30169
Looping back on old issues and returned to this one seeing the same behavior in 5.9 (just to get a current snapshot):
I'd be curious to get more design thoughts on this as, to me, this is a pretty surprising thing to have happen. I can see this was originally implemented as a way to allow for an easier time deleting links. However, you can't easily undo this anymore (unless you hit undo) like you could before by separating the menu items back out as shown above.
In my mind, nothing should happen upon taking this action.
However, you can't easily undo this anymore (unless you hit undo) like you could before by separating the menu items back out as shown above.
Yeah, that seems bad, seems like a regression of https://github.com/WordPress/gutenberg/issues/18208.
Noting that this came up during the FSE Outreach program's usability testing with main menu items when deleting using 6.0 and Gutenberg 13.6:
This felt like a broken experience to the participant.
Noting that is still present when testing in WP6.3
Still present in 6.7 RC1.
Description
If you add multiple sub menu items and then hit backspace at the beginning of the second item, it merges with the first.
Step-by-step reproduction instructions
Expected behaviour
I expect the items to stay separate.
Actual behaviour
They merged :)
Screenshots or screen recording (optional)
https://user-images.githubusercontent.com/26996883/112238003-6d395400-8c09-11eb-8fbf-539d859ce24b.mov
WordPress information
Device information