Gallery block: Block is broken when returning from HTML edit mode to visual edit mode #39310
Labels
[Block] Gallery
Affects the Gallery Block - used to display groups of images
[Type] Bug
An existing feature does not function as intended
Description
In the new gallery block, when I select "Edit as HTML" and press the "Option" button, the block is broken.
I think that HTML editing should be prohibited in blocks that have child blocks (such as column blocks and group blocks).
But HTML editing is not prohibited in
v1
gallery block, so the process should be switched betweenv1
/v2
.I found something even stranger, when I tried to resolve block , one of the comment delimiters in the image block was
wp:fimage
instead ofwp:image
.Step-by-step reproduction instructions
Screenshots, screen recording, code snippet
9528d150b733a3ebacced0f8baddd2c6.mp4
Environment info
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: