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

WordPress Trac noreply at wordpress.org
Fri Nov 6 12:59:03 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 kjellr):

 I think it's both, really. 😄

 Twenty Twenty should probably move to using `add_theme_support` for editor
 styles, but that'll be a relatively large refactor. I'm personally not
 100% sure it's worth this specific benefit.

 And on the Gutenberg end, the feature would ideally be able to handle
 themes that enqueue stylesheets via `enqueue_block_editor_assets` — either
 by checking for and dequeueing those stylesheets, or by hiding/disabling
 the "Theme Styles" checkbox when themes enqueue stylesheets this way.

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


More information about the wp-trac mailing list