[wp-trac] [WordPress Trac] #50120: [Multiple Bundled Themes] Custom color palette styles need to be added to the editor stylesheet

WordPress Trac noreply at wordpress.org
Fri Jun 4 15:54:18 UTC 2021


#50120: [Multiple Bundled Themes] Custom color palette styles need to be added to
the editor stylesheet
--------------------------------------------------+-----------------------
 Reporter:  kjellr                                |       Owner:  notlaura
     Type:  defect (bug)                          |      Status:  assigned
 Priority:  normal                                |   Milestone:  5.8
Component:  Bundled Theme                         |     Version:
 Severity:  normal                                |  Resolution:
 Keywords:  reporter-feedback dev-feedback close  |     Focuses:  css
--------------------------------------------------+-----------------------
Changes (by ryelle):

 * keywords:  needs-patch dev-feedback => reporter-feedback dev-feedback
               close


Comment:

 Is this still an issue? I just tested with Twenty Nineteen & Twenty
 Twenty, and I'm seeing text and background colors correctly on a
 paragraph. It looks like the editor adds these colors to the element's
 inline `style=…` attribute, so the theme doesn't need to add these to the
 editor style.

 I also checked on the 5.7 branch and it seems to do the same.

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


More information about the wp-trac mailing list