Can't delete the text while renaming a block, it instead closes the dialog & deletes the block. #61544
Labels
[Feature] List View
Menu item in the top toolbar to select blocks from a list of links.
[Status] In Progress
Tracking issues with work in progress
[Type] Bug
An existing feature does not function as intended
Description
I tried to rename a group block. I mistyped it and tried to delete some chars by pressing the Backspace key. The dialog then got closed on keypress, and my group block was deleted. Since I pressed it many times (to delete a few chars) the next focused blocks were deleted too. Pressing backspace once, still deletes the group block while renaming.
Step-by-step reproduction instructions
Screenshots, screen recording, code snippet
5LPT1Fe.1.mp4
Environment info
Please confirm that you have searched existing issues in the repo.
Yes
Please confirm that you have tested with all plugins deactivated except Gutenberg.
Yes
The text was updated successfully, but these errors were encountered: