Group block: multiple wp-container-* classes and duplicate styles per block #33005
Labels
[Block] Group
Affects the Group Block
[Status] In Progress
Tracking issues with work in progress
[Type] Bug
An existing feature does not function as intended
Description
A
wp-container-*
class is added to a Group block's parent container, with a<style>
element inserted after the block markup to help scope layout settings. I notice a second class is also added for no obvious benefit. This results in two separate but duplicate style elements being inserted per block.Step-by-step reproduction instructions
wp-container-*
classes have been added to the parent container. Two corresponding style tags have also been added after the block markup.Expected behaviour
Presuming this is not intentional, I expect to see a single class added to the block container, along with a single corresponding
<style>
block.Actual behaviour
Two different classes are added to the block container along with two duplicate
<style>
blocks.Screenshots or screen recording (optional)
WordPress information
Device information
The text was updated successfully, but these errors were encountered: