-
Notifications
You must be signed in to change notification settings - Fork 4.7k
Open
Labels
[Block] GroupAffects the Group Block (and row, stack and grid variants)Affects the Group Block (and row, stack and grid variants)[Type] EnhancementA suggestion for improvement.A suggestion for improvement.
Description
Description
I am super happy with the addition of the group classnames: is-horizontal or is-vertical for the variations, but they are not yet consistent.
When placing a Row block directly these classes do not get added on the front end. Only when the layout/orientation 'vertical' is triggered, and then set back to 'horizontal', it will get added to the block in the front end.
Step-by-step reproduction instructions
- Add a Row block by typing /row OR by selecting a few blocks and making them into a Row.
- Update page.
- Load the front. No 'is-horizontal' class on the block.
- Go back to edit page.
- Select the Row block and tick 'vertical' on in
layout.orientationblock settings panel, and switch it to 'horizontal' again (no need to update page in between). - Update page.
- Load the front. Now there is a 'is-horizontal' class on the block.
Screenshots, screen recording, code snippet
No response
Environment info
- WordPres 6.0.1
- No Gutenberg
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
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
[Block] GroupAffects the Group Block (and row, stack and grid variants)Affects the Group Block (and row, stack and grid variants)[Type] EnhancementA suggestion for improvement.A suggestion for improvement.
Type
Fields
Give feedbackNo fields configured for issues without a type.