[wp-trac] [WordPress Trac] #52589: Twenty Twenty-One: Paragraph padding isn’t inherited in some div
WordPress Trac
noreply at wordpress.org
Sat Feb 27 00:08:30 UTC 2021
#52589: Twenty Twenty-One: Paragraph padding isn’t inherited in some div
---------------------------+------------------------------
Reporter: ooker | Owner: (none)
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Bundled Theme | Version: 5.6.1
Severity: major | Resolution:
Keywords: | Focuses: ui, css
---------------------------+------------------------------
Comment (by poena):
> **Surely in a visual editor, default margins shown on elements / blocks
in the editor (be they built in or otherwise) should transcend to the
front end theme?**
The style in your example are the ''editor defaults'' that the theme
already overrides in order to match the design and spacing for the theme.
So no, the default editor styles are not used on the front, the theme
styles are.
If the plugin chooses not to use {{{data-block}}} in the editor then the
theme styles for {{{data-block}}} will not be applied.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/52589#comment:21>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list