coblocks
coblocks copied to clipboard
ISBAT Padding stopped working for Group block
Describe the bug:
Padding stopped working for Group block In post editor all works fine, but on frontend (or preview) group element has no padding. Most recent version where it works fine - 2.19.1
To reproduce:
- add group type element
- in group settings select any padding option (S,M,L ...)
- save and preview
- the group don't have padding and classes
Expected behavior:
Display elements with selected padding
WordPress version:
5.9
Gutenberg version:
7.7
Can confirm this, no matter which settings u choose. Tested w/ default themes on WP 5.8.X and WP 5.9.
Issue confirmed. It appears to be related to block supports spacing.padding. These controls are only available when the theme has theme supports for spacing enabled as well. For that reason, this issue was not possible to replicate in Go theme and TwentyTwenty but is present in TT1 and TT2.
https://developer.wordpress.org/block-editor/reference-guides/block-api/block-supports/#spacing https://developer.wordpress.org/block-editor/how-to-guides/themes/theme-support/#spacing-control
Hey guys, we have another user reporting this issue: https://wordpress.org/support/topic/padding-for-group-block-not-working/
Any updates?
Padding not visible on previews via Cover, Heading, paragraph, or section blocks. Pleeeeease fix, very frustrating! Currently using Kadence theme but this is basic Wordpress block editor.