Description
This was reported by a user of our WordPress service where they would accidentally grab a group block within the editor window and move it (similar to trying to move blocks within the List View); however upon releasing their left mouse button the group block itself would become 'locked' and you could no longer select content within it including editing text within a paragraph block.
I have been able to replicate this error using our custom WordPress theme as well as the Twenty Twenty-Five theme in a local install, as well as on our servers.
There was a secondary issue that is harder to reproduce, which has the selected group block shrinking and remaining in that shrunken view. This is all reset upon doing a refresh of the browser window.
Step-by-step reproduction instructions
- Create content (specifcally, several paragraph blocks or use a pattern to add that content) and group it together. Set your group block Align setting to be Full width.
- Within the editor area, click the area of the group block outside of your text so you get the 'grab handle' hand icon. That will select the group block.
- Drag the group block around within your editor window and then release it. Please note that this isn't an exact science and it takes a few tries to bug it out. Once is sometimes not enough.
- Once you release your mouse button, check to see if you can select any content (such as text) within that group block, and attempt to add or delete a character.
- What you will experience when the bug hits is that that specific group block is no longer editable.
Screenshots, screen recording, code snippet
I have created a screen recording of recreating this bug using the WordPress Playground (https://playground.wordpress.net/).
https://mediaspace.wisc.edu/media/Group+Block+Bug/1_g8isdgwy
Environment info
- Using WordPress Playground (https://playground.wordpress.net/), which is using WordPress version 7.1.2.
- Using the Twenty Twenty-Five theme
- Using Microsoft Edge (Version 153.0.4234.48 (Official build) (64-bit)) - thought this has been recreated using Firefox and Chrome in most recent versions.
- Using Windows 11, though coworkers have also recreated it using MacOS.
Please confirm that you have searched existing issues in the repo.
Please confirm that you have tested with all plugins deactivated except Gutenberg.
Please confirm which theme type you used for testing.
Description
This was reported by a user of our WordPress service where they would accidentally grab a group block within the editor window and move it (similar to trying to move blocks within the List View); however upon releasing their left mouse button the group block itself would become 'locked' and you could no longer select content within it including editing text within a paragraph block.
I have been able to replicate this error using our custom WordPress theme as well as the Twenty Twenty-Five theme in a local install, as well as on our servers.
There was a secondary issue that is harder to reproduce, which has the selected group block shrinking and remaining in that shrunken view. This is all reset upon doing a refresh of the browser window.
Step-by-step reproduction instructions
Screenshots, screen recording, code snippet
I have created a screen recording of recreating this bug using the WordPress Playground (https://playground.wordpress.net/).
https://mediaspace.wisc.edu/media/Group+Block+Bug/1_g8isdgwy
Environment info
Please confirm that you have searched existing issues in the repo.
Please confirm that you have tested with all plugins deactivated except Gutenberg.
Please confirm which theme type you used for testing.