[wp-trac] [WordPress Trac] #49787: Twenty Nineteen: Highlight text color isn't reflected in the editor
WordPress Trac
noreply at wordpress.org
Mon Jan 22 07:25:06 UTC 2024
#49787: Twenty Nineteen: Highlight text color isn't reflected in the editor
-----------------------------------------+-----------------------
Reporter: karmatosed | Owner: poena
Type: defect (bug) | Status: assigned
Priority: normal | Milestone: 6.5
Component: Bundled Theme | Version:
Severity: normal | Resolution:
Keywords: needs-testing needs-refresh | Focuses: css
-----------------------------------------+-----------------------
Comment (by poena):
Testing with WordPress current trunk:
- Highlights with a color from the palette does not work in the editor.
- Highlights with a color from the palette works on the front.
- When the primary color is updated in the Customizer, the highlights on
the front only works for blocks that has a block class name, so it does
not work for paragraphs and lists.
The current selector is:
{{{
.entry .entry-content > *[class^="wp-block-"] .has-primary-color
}}}
- Highlights with a custom color from the color picker works in the editor
and front.
There are pull requests in the Gutenberg GitHub repository for adding the
wp-block-blockname CSS classes to the paragraph and list blocks, but there
is no ETA.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/49787#comment:18>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list