[wp-trac] [WordPress Trac] #51554: Twenty Twenty theme styles get in way within editor

WordPress Trac noreply at wordpress.org
Fri Oct 30 14:10:54 UTC 2020


#51554: Twenty Twenty theme styles get in way within editor
---------------------------+---------------------
 Reporter:  karmatosed     |       Owner:  (none)
     Type:  defect (bug)   |      Status:  new
 Priority:  normal         |   Milestone:  5.6
Component:  Bundled Theme  |     Version:
 Severity:  normal         |  Resolution:
 Keywords:  dev-feedback   |     Focuses:
---------------------------+---------------------

Comment (by joyously):

 > Twenty Twenty uses the outdated enqueue_block_editor_assets hook

 Can you point to where that hook is documented as "outdated"?
 Many themes do use the `add_editor_style` function, but do not call the
 `add_theme_support` for editor styles because of being older than the
 block editor, or having styles that don't work with the way styles are
 prefixed when using that.

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


More information about the wp-trac mailing list