[wp-trac] [WordPress Trac] #48569: Twenty Twenty: Theme-specific editor styles being improperly enqueued

WordPress Trac noreply at wordpress.org
Tue Nov 12 17:40:41 UTC 2019


#48569: Twenty Twenty: Theme-specific editor styles being improperly enqueued
---------------------------+-----------------------------
 Reporter:  markjaquith    |       Owner:  (none)
     Type:  defect (bug)   |      Status:  new
 Priority:  normal         |   Milestone:  5.3.1
Component:  Bundled Theme  |     Version:  trunk
 Severity:  normal         |  Resolution:
 Keywords:                 |     Focuses:  administration
---------------------------+-----------------------------

Comment (by williampatton):

 Hey Mark,

 The `add_editor_style()` is used here for the classic editor only. For the
 block editor we use the `enqueue_block_editor_assets` action and run the
 enqueues hooked into that. You can dequeue them with `wp_dequeue_style(
 'twentytwenty-block-editor-styles' );`

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


More information about the wp-trac mailing list