Description
When I create the hybrid theme and set useRootPaddingAwareAlignments to true, the root padding is lost in the post editor.
Step-by-step reproduction instructions
- Use WP 6.1.1 (with and without Gutenberg plugin)
- Copy TT3 theme.json into the classic TT1 theme folder
- Remove all CSS from TT1 style.css
- Remove add_theme_support( 'editor-styles' ) from TT1 functions.php
- Check post and page mobile preview
Screenshots, screen recording, code snippet
| "useRootPaddingAwareAlignments": false |
"useRootPaddingAwareAlignments": true |
Root padding is inserted:  |
root padding is lost:  |
theme.json styles.spacing.padding setting:
"spacing": {
"blockGap": "1.5rem",
"padding": {
"top": "var(--wp--preset--spacing--40)",
"right": "var(--wp--preset--spacing--30)",
"bottom": "var(--wp--preset--spacing--40)",
"left": "var(--wp--preset--spacing--30)"
}
},
Environment info
WP 6.1.1, instawp install
TT3 and TT1 included in WP 6.1.1
Tested with and without Gutenberg plugin
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
Description
When I create the hybrid theme and set useRootPaddingAwareAlignments to true, the root padding is lost in the post editor.
Step-by-step reproduction instructions
Screenshots, screen recording, code snippet
theme.json styles.spacing.padding setting:
Environment info
WP 6.1.1, instawp install
TT3 and TT1 included in WP 6.1.1
Tested with and without Gutenberg plugin
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