This repository has been archived by the owner on Jan 26, 2022. It is now read-only.
Post content does not have padding in the editor #144
Labels
[Component] Block Templates
[Type] Bug
Something isn't working
[Type] Gutenberg
An upstream bug or feature request in Gutenberg
Milestone
Describe the bug
Currently because of where our padding is applied, post content does not appear with padding in the editor.
To Reproduce
Expected behavior
I expect the padding to mirror what's displayed on the front-end.
Screenshots
Additional context
This is happening because in our templates, we apply padding to a group block that contains the post-content, not the post-content itself or any children of it: https://github.com/WordPress/twentytwentytwo/blob/trunk/block-templates/single.html#L3
The editor only renders the post-content, which has no padding. It isn't aware of the container that has the padding applied, which I think is the correct behavior.
The text was updated successfully, but these errors were encountered: