[wp-trac] [WordPress Trac] #53494: Styles not applied to block using theme.json with seperate assets loading enabled

WordPress Trac noreply at wordpress.org
Fri Jun 25 15:24:27 UTC 2021


#53494: Styles not applied to block using theme.json with seperate assets loading
enabled
--------------------------+---------------------
 Reporter:  walbo         |       Owner:  (none)
     Type:  defect (bug)  |      Status:  new
 Priority:  normal        |   Milestone:  5.8
Component:  Editor        |     Version:  trunk
 Severity:  normal        |  Resolution:
 Keywords:  has-patch     |     Focuses:
--------------------------+---------------------

Comment (by nosolosw):

 I've prepared https://github.com/WordPress/wordpress-develop/pull/1435

 If we want to go on with this fix, in the Gutenberg plugin we need to
 change [https://github.com/WordPress/gutenberg/blob/trunk/lib/global-
 styles.php#L65 how global styles are enqueued]: we can no simply update
 the contents of the `global-styles` style handle. We need to make sure the
 global styles stylesheet is still enqueued in the {{{<head>}}}) for FSE
 themes.

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


More information about the wp-trac mailing list