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

WordPress Trac noreply at wordpress.org
Mon May 27 09:30:18 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 needs-       |     Focuses:  css
  refresh                                        |
-------------------------------------------------+-------------------------

Comment (by poena):

 > Could the text color rulesets use more generic selectors instead of
 limiting them to the mark element? For example:
 > body .has-primary-color in style-editor.css and
 > html .editor-styles-wrapper .has-primary-color in inc/color-patterns.php

 Yes, **if the change doesn't break anything else.** How do we test
 "everything else" ?

 It would partially solve [https://core.trac.wordpress.org/ticket/60408
 Twenty Nineteen: Theme block styles are not applied to blocks in the
 widget area]

 In Twenty sixteen, the {{{.has-*}}} is not nested.
 In Twenty Seventeen, it is {{{.entry-content .has-*}}}
 In Twenty Twenty it is {{{:root .has-*}}}

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


More information about the wp-trac mailing list