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

WordPress Trac noreply at wordpress.org
Tue Jun 29 20:20:15 UTC 2021


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

Comment (by walbo):

 Have tested PR1447 and it does solve the issue ✅.

 However I'm not a big fan of adding all the styles to the footer. Users
 may experience a small "flicker" of the content before the style is added.
 With this approach `should_load_separate_core_block_assets` does feel a
 bit experimental. Ideally it would be in the `<head>`, but I think that is
 a bigger job and don't think that is realistic before 5.8 is launched.

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


More information about the wp-trac mailing list