[wp-trac] [WordPress Trac] #61881: Twenty Fourteen: Button block background color is mismatch
WordPress Trac
noreply at wordpress.org
Sat Aug 17 04:58:49 UTC 2024
#61881: Twenty Fourteen: Button block background color is mismatch
-------------------------------------------------+-------------------------
Reporter: viralsampat | Owner: (none)
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting
| Review
Component: Bundled Theme | Version: 6.6.1
Severity: normal | Resolution:
Keywords: has-patch dev-feedback needs- | Focuses: css
testing |
-------------------------------------------------+-------------------------
Comment (by sabernhardt):
61881.patch would correct the default background color for both the Fill
and Outline styles of the Button block in the iframe editor. If someone
selects a different background color, that likewise would be correct in
the iframe with the patch. It could be worth committing that to support
WordPress 6.6 and/or earlier.
However, the fundamental issue is that the editor prints the `classic-
themes-css` fallback styles inside the `body` element, after the `editor-
blocks` stylesheet in the `head`. I think both need to be enqueued in the
`enqueue_block_assets` hook (#61591 would address the theme's part).
--
Ticket URL: <https://core.trac.wordpress.org/ticket/61881#comment:1>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list