gutenberg icon indicating copy to clipboard operation
gutenberg copied to clipboard

Can't Delete Group Block if there are more than one

Open timhibberd opened this issue 6 years ago • 2 comments

Describe the bug Can't Delete Group Block if there are more than one

To reproduce

  1. Add group block
  2. Add second group block
  3. Try to delete either group block...but there is no user interface to delete the selected group block

Expected behavior Should be able to delete either group block

Screenshots image

Desktop (please complete the following information):

  • OS: Windows10
  • Browser Firefox
  • Version 74.0.1

Additional context

  • Twenty Twenty Theme V1.2
  • WP 5.4

timhibberd avatar Apr 07 '20 13:04 timhibberd

I followed the steps to reproduce in WordPress 5.5. beta 3 but found what's necessary for step 3.

  1. Use block navigation or the Select tool to select the block you want to delete
  2. then press the delete key or use the Remove block menu item from More options ( ellipsis icon )

The user interface to select the group block is not intuitive, but it is possible to delete the blocks once they're selected.

The selection process is not as obvious as deleting an empty ( and unwanted ) paragraph block. Both deletion methods need clear documentation - perhaps they could be hints displayed at the bottom of the block inserter.

image

bobbingwide avatar Jul 23 '20 22:07 bobbingwide

Closing this issue as it can no longer be recreated. Group blocks can now be interacted with and deleted when empty.

Screenshot 2023-08-17 at 2 15 16 pm

jordesign avatar Aug 17 '23 04:08 jordesign