- Issue created by @rkelkar
This is also happening to me - any updates? I tried updating to 8.x-2.8 and it's still happening there too. Nodes that had the "wp-block-group__inner-container" have it stripped out if I do as much as save the node without even having made any changes.
- 🇧🇷Brazil isa.bel Balneário Camboriú
Based on the issue opened on Gutenberg repository: https://github.com/WordPress/gutenberg/issues/41124
And solution provided here: https://github.com/WordPress/wordpress-develop/blob/6.0/src/wp-includes/...
I have created an MR to add the changes necessary to recreate the group inner container. Which fixed the issue for me.
- 🇧🇷Brazil isa.bel Balneário Camboriú
- First commit to issue fork.
-
marcofernandes →
committed 25308374 on 3.0.x
Issue #3353642 by isa.bel: Restore group inner container
-
marcofernandes →
committed 25308374 on 3.0.x
- Status changed to Fixed
6 months ago 11:27pm 19 May 2024 - 🇵🇹Portugal marcofernandes
Also made an MR for 3.x. https://git.drupalcode.org/project/gutenberg/-/merge_requests/129
- Status changed to Needs work
6 months ago 9:28am 20 May 2024 I believe the
$block
variable/argument is missing, which means certain functionality wouldn't work as expected.https://git.drupalcode.org/project/gutenberg/-/merge_requests/129/diffs#...
+ $is_not_default = isset($block['attrs']['layout']['type']) && $block['attrs']['layout']['type'] !== 'default'; + if ($is_inner_container || $is_not_default) { + return $block_content; + }
And will need to reapplied to 3.x as well
-
marcofernandes →
committed 44851e61 on 8.x-2.x
Issue #3353642 by isa.bel, marcofernandes, codebymikey: Fix $block var/...
-
marcofernandes →
committed 44851e61 on 8.x-2.x
- Status changed to Needs review
6 months ago 9:49am 22 May 2024 -
marcofernandes →
committed 11fc8603 on 3.x
Issue #3353642 by isa.bel, marcofernandes, codebymikey: Fix $block var/...
-
marcofernandes →
committed 11fc8603 on 3.x
- Status changed to Fixed
6 months ago 11:38am 25 May 2024 -
marcofernandes →
committed 11fc8603 on 3.0.x
Issue #3353642 by isa.bel, marcofernandes, codebymikey: Fix $block var/...
-
marcofernandes →
committed 11fc8603 on 3.0.x
Automatically closed - issue fixed for 2 weeks with no activity.