You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
A theme that doesn't add the opinionated block styles will still see some of them in the editor, creating a disconnect between what's on the editor and on the frontend.
Step-by-step reproduction instructions
Install a theme that doesn't add support for wp-block-styles (or remove add_theme_support( 'wp-block-styles' ); from functions.php), insert a group block with some content and add a background color to it.
You will see that the editor shows a padding on the group block that is missing from the frontend.
Screenshots, screen recording, code snippet
Frontend:
Editor:
Environment info
No response
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
The text was updated successfully, but these errors were encountered:
Hi
I have not been able to reproduce this.
Using emptytheme, there is no extra padding.
Using Twenty Twenty-two there is padding, but because the theme adds left and right padding in style.css.
Hi I have not been able to reproduce this. Using emptytheme, there is no extra padding. Using Twenty Twenty-two there is padding, but because the theme adds left and right padding in style.css.
Description
A theme that doesn't add the opinionated block styles will still see some of them in the editor, creating a disconnect between what's on the editor and on the frontend.
Step-by-step reproduction instructions
Install a theme that doesn't add support for
wp-block-styles
(or removeadd_theme_support( 'wp-block-styles' );
from functions.php), insert a group block with some content and add a background color to it.You will see that the editor shows a padding on the group block that is missing from the frontend.
Screenshots, screen recording, code snippet
Frontend:
Editor:
Environment info
No response
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
The text was updated successfully, but these errors were encountered: