[wp-trac] [WordPress Trac] #49787: Twenty Nineteen: Highlight text color isn't reflected in the editor

WordPress Trac noreply at wordpress.org
Mon Apr 29 06:33:30 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:  Future Release
Component:  Bundled Theme            |     Version:
 Severity:  normal                   |  Resolution:
 Keywords:  needs-testing has-patch  |     Focuses:  css
-------------------------------------+-----------------------------

Comment (by poena):

 I have updated pull request 5921 to include the latest changes from trunk
 for the file {{{twentynineteen/inc/color-patterns.php}}}

 This should solve the merge conflict.

 ----

 This only solves the color of the **text highlight**.
 When the highlight color is set for the **background**, the custom color
 set in the Customizer still does not work, not in the editor or the front.

 When the highlight color is set to the **background**, WordPress adds it
 inline in the style attribute, {{{style="background-color:#0073a8"}}} and
 without adding a {{{.has-*-background-color}}} class.

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/49787#comment:24>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list