[FSE] Discussion on Editor Styles Wrapper Padding for block themes #30545
Comments
We discussed this very recently and updated the default padding to match the browser default here #30277 if we want to update to 0, it will update the frontend of existing themes as well because we can't just set it to 0 in the backend, we need the editor to match frontend by default. So I think the current approach to match browser defaults is the right one and the least impacting one. Themes can easily applying "padding: 0" to the root level in theme.json which will zero out the padding for them in both frontend and editor. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
annezazu commentedApr 6, 2021
Description
As part of the fourth call for testing for the FSE Outreach Program, two different people noted that when it came to a WYSIWYG experience, the site editor has padding that breaks the experience a bit:
In talking with a few themers, I wanted to open this issue to discuss the best approach here. It seems the padding was recently updated to 8px, which matches the default “body” browser padding. Generally speaking though, block themes will likely always want this to be 0px considering that helps with creating a true WYSIWYG experience and then desired margins to the inner elements as needed.
If any of this is wrong or the title of the issue needs to be updated, please let me know! cc @kjellr @carolinan @youknowriad for discussion.
Screenshots or screen recording (optional)
WordPress information
Device information
The text was updated successfully, but these errors were encountered: