Skip to content

When deleting a heading block with the backspace key below an image block, the heading block itself does not disappear. #70739

@megane9988

Description

@megane9988

Description

The heading blocks following image blocks cannot be deleted with just the backspace key either.

Step-by-step reproduction instructions

  1. Add an image block
  2. Add a heading block directly below
  3. Enter a suitable string into the heading block
  4. Delete the characters in the heading block using the backspace key
  5. After the last character disappears, the heading block remains empty, and the cursor moves to the image block

Expected behaviour

  • When all the text in the heading block disappears, the heading block itself will also be deleted.

Screenshots or screen recording (optional)

2025-07-08.16.38.04.mov

WordPress information

  • WordPress 6.8.1
  • Gutenberg Version 21.1.0

Metadata

Metadata

Assignees

Labels

[Feature] Writing FlowBlock selection, navigation, splitting, merging, deletion...[Status] In ProgressTracking issues with work in progress[Type] BugAn existing feature does not function as intended

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions