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

WordPress Trac noreply at wordpress.org
Sat Oct 31 13:06:04 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):

 Because of a forum topic I was answering today, I'm reminded that this is
 a good time to point out that the `add_theme_support` call for the editor
 styles doesn't distinguish between a parent theme and a child theme. So if
 the parent is older, and uses `add_editor_style` for styling the Classic
 editor, and the child theme wants to add something to the block editor and
 calls `add_theme_support('editor-styles')`, then it could make a mess.

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


More information about the wp-trac mailing list