Deleting a Paragraph Block that comes immediately after Columns creates an additional column, resizes stuff, and generally just causes a mess #50003
Labels
[Package] Block editor
/packages/block-editor
[Type] Bug
An existing feature does not function as intended
Description
If you have a blank paragraph that comes immediately after a columns block, and hit backspace in that empty paragraph, the result is kind of a disaster.
What I'd expect: The Paragraph Block goes away
What actually happens: an additional column is added to the preceding Columns block, and the existing columns become incredibly narrow
Note that using List View to remove the Paragraph Block works fine. It's only trying to get rid of it with the backspace key that causes the issue. But as a blank paragraph doesn't have a toolbar available, trying to remove it with a backspace is pretty common.
Step-by-step reproduction instructions
Screenshots, screen recording, code snippet
Before hitting backspace:
After hitting backspace:
Environment info
WordPress 6.2, no Gutenberg plugin
(Also happens on 6.1.1, and I'm pretty sure it's been happening a long time)
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: