-
Notifications
You must be signed in to change notification settings - Fork 4.5k
Closed
Labels
[Block] GalleryAffects the Gallery Block - used to display groups of imagesAffects the Gallery Block - used to display groups of images[Type] BugAn existing feature does not function as intendedAn existing feature does not function as intended
Description
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 between v1
/ 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 of wp:image
.
Step-by-step reproduction instructions
- Insert gallery block.
- Select images or upload images.
- Insert the gallery without any particular editing.
- Select "Edit as HTML" from Block Toolbar Option.
- Do not edit the HTML, and press the option button shown in the upper left corner of the block.
Screenshots, screen recording, code snippet
9528d150b733a3ebacced0f8baddd2c6.mp4
Environment info
- WordPress version: 5.9.1
- Gutenberg version: latest(12.7.1)
- Browser: Google Chrome 99.0.4844.51
- OS:Windows 11
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
Mamaduka
Metadata
Metadata
Assignees
Labels
[Block] GalleryAffects the Gallery Block - used to display groups of imagesAffects the Gallery Block - used to display groups of images[Type] BugAn existing feature does not function as intendedAn existing feature does not function as intended