Make WordPress Core

#57010 closed defect (bug) (reported-upstream)

6.1 broke the group block

Reported by: webfactoryuk's profile webfactoryuk Owned by:
Milestone: Priority: normal
Severity: normal Version: 6.1
Component: Editor Keywords:
Focuses: Cc:

Description

Hope I am in the right place. I use the group block a lot on my sites as a kind of wrapper for all the site content. I have noticed since 6.1, when you delete the top element in the group using the delete key, the whole group gets removed. I made a video.

https://www.loom.com/share/275f988018b24145b7065d9f00e5c3cb

I only hit delete on my keyboard enough times to remove the headers letters but when you remove the last letter the group block goes too.

Change History (5)

#1 @poena
23 months ago

  • Component changed from Formatting to Editor

Hi!

Thank you for the report.
I can reproduce this behavior in WordPress 6.1.
I can not reproduce it in 5.9.5.

It doesn't matter which block is the first block inside the group, and it happens in both the site editor and block editor.

Since this is related to the editor and to the group block, let's move this issue to the Gutenberg GitHub repository.

#2 @poena
23 months ago

@webfactoryuk I was able to find this issue, I believe it is a duplicate, can you confirm?https://github.com/WordPress/gutenberg/issues/45436

#3 @webfactoryuk
23 months ago

@poena sorry for the delay. I dont think so as the group block is the first block on my pages. There is nothing before it. I just tested. I inserted a spacer, then the group block, then added a header in the group block. You hit delete once in the empty header block and the whole group goes.

#4 @poena
22 months ago

I realized I was not able to reproduce this with the delete key, but with backspace.

#5 @poena
22 months ago

  • Milestone Awaiting Review deleted
  • Resolution set to reported-upstream
  • Status changed from new to closed

I have copied the information to this Gutenberg issue 45880.

Note: See TracTickets for help on using tickets.