[wp-trac] [WordPress Trac] #61591: Multiple bundled themes: block editor style is added incorrectly

WordPress Trac noreply at wordpress.org
Tue Jul 23 16:45:00 UTC 2024


#61591: Multiple bundled themes: block editor style is added incorrectly
-------------------------------------+-----------------------------
 Reporter:  poena                    |       Owner:  (none)
     Type:  defect (bug)             |      Status:  new
 Priority:  normal                   |   Milestone:  Future Release
Component:  Bundled Theme            |     Version:  6.3
 Severity:  normal                   |  Resolution:
 Keywords:  has-patch needs-testing  |     Focuses:
-------------------------------------+-----------------------------
Changes (by sabernhardt):

 * keywords:  2nd-opinion has-patch => has-patch needs-testing


Comment:

 I did not like the idea of deprecating (this implementation of) the hook
 that had been used before WP6.3.

 However, `enqueue_block_editor_assets` adds these theme styles too early
 in the non-framed editor, before stylesheets such as `block-
 library/theme.css` (ticket:46080#comment:3). Changing the hook within each
 theme could fix that, in addition to simply following
 [https://developer.wordpress.org/block-editor/how-to-guides/enqueueing-
 assets-in-the-editor/ recommendations] related to the iframe.

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


More information about the wp-trac mailing list