Repository navigation
Block Editor: Prevent empty paragraph nesting into Group on Backspace - #70129
Closed
Sukhendu2002 wants to merge 2 commits into
Closed
Sukhendu2002 wants to merge 2 commits into
Sukhendu2002 wants to merge 2 commits into
Conversation
Contributor
|
Thanks for picking this up, @Sukhendu2002! The Backspace behaviour from #65850 was addressed more generally in the writing flow by #81456, and the issue is now closed. I'm going to close this draft as superseded, but please reopen or file a new issue if you still see an empty paragraph being merged into a Group on trunk. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What?
Closes: #65850
This PR fixes an inconsistent Backspace behavior where an empty default paragraph block would merge into a preceding Group block instead of being deleted.
Testing Instructions
Expected Result: The default paragraph block should be deleted, and the Group block should become selected. The paragraph should not move inside the Group block.
Screenshots or screencast
Screen.Recording.2025-05-15.at.3.07.21.PM.mov