[wp-trac] [WordPress Trac] #57561: Update conditional logic for editor_styles

WordPress Trac noreply at wordpress.org
Thu Feb 2 12:26:38 UTC 2023


#57561: Update conditional logic for editor_styles
-------------------------------------------------+-------------------------
 Reporter:  mikachan                             |       Owner:  (none)
     Type:  defect (bug)                         |      Status:  new
 Priority:  normal                               |   Milestone:  6.2
Component:  Script Loader                        |     Version:  6.1
 Severity:  normal                               |  Resolution:
 Keywords:  has-patch needs-testing needs-       |     Focuses:
  testing-info                                   |
-------------------------------------------------+-------------------------

Comment (by mikachan):

 Thanks for testing this out, @poena!

 Great point, here's a "sad path" to test for:

 Ensure themes that opt into `wp-block-styles` still include the correct
 styles on both the front end and the editor. Check that the theme.css
 ('wp-block-library-theme-css') is included where expected. The blocks that
 use this CSS are listed here:
 https://github.com/WordPress/gutenberg/blob/trunk/packages/block-
 library/src/theme.scss

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


More information about the wp-trac mailing list