-
Notifications
You must be signed in to change notification settings - Fork 4.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Group block: child group block has multiple inner container div #34404
Comments
I suspect that the cause is that the closing tag in the Here's another example. Step-by-step reproduction instructions
Editor ViewFrontend View |
This sounds like a similar issue to the one reported here - #34199 |
@noisysocks Similar to #34199 would this also need to be ported over to the WordPress core for inclusion in 5.9? |
The fix #36256 landed in Gutenberg 11.9 which means it's included in WP 5.9. |
Description
The front-end side will output a container (
.wp-block-group__inner-container
) if the HTML element of the group block is the defaultdiv
.When group blocks are nested and the HTML element of the parent block is set to something other than
div
, the descendant group blocks will output multiple containers.Step-by-step reproduction instructions
<div>
from "HTML Element" in Advanced panel for the parent group block.Screenshots, screen recording, code snippet
Block List View Example
HTML Outpul Result
Environment info
No response
Pre-checks
The text was updated successfully, but these errors were encountered: