Skip to content

Using the delete key inside the "Rename" modal deletes the current block #61750

@bacoords

Description

@bacoords

Description

When renaming a block if I hit delete to backspace and change some text, the entire block is deleted.

Step-by-step reproduction instructions

  1. Open the block editor
  2. Add a block and rename it in the list view
  3. Type a few letters and then hit delete to backspace

Screenshots, screen recording, code snippet

Screen.Recording.2024-05-16.at.4.17.32.PM.mov

Environment info

  • Gutenberg 18.3.0

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    [Feature] List ViewMenu item in the top toolbar to select blocks from a list of links.[Status] DuplicateUsed to indicate that a current issue matches an existing one and can be closed[Type] BugAn existing feature does not function as intended

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions