[wp-trac] [WordPress Trac] #36778: Parent theme editor-style.css cannot be disabled

WordPress Trac noreply at wordpress.org
Mon Feb 27 11:31:35 UTC 2017


#36778: Parent theme editor-style.css cannot be disabled
-------------------------------------+-----------------------------
 Reporter:  matthewmcvickar          |       Owner:
     Type:  enhancement              |      Status:  reopened
 Priority:  normal                   |   Milestone:
Component:  Editor                   |     Version:
 Severity:  normal                   |  Resolution:
 Keywords:  needs-patch 2nd-opinion  |     Focuses:  administration
-------------------------------------+-----------------------------

Comment (by eclare):

 Thanks for your fast reply :)

 The issue is, even though ''serious'' developers look around for a
 solution, the only one is in this trac ticket. Obviously if you see
 `add_editor_style()`, you Google for `remove_editor_style()` and there
 isn't one. The next thing a developer could do is look further for a
 solution or edit the parent theme's code. Since this is like the only page
 with a proper solution, most will do the latter.

 I think the minimum viable solution is to add an explanation to the Codex
 (or somewhere else), but I still feel strongly about consistency and ease
 of use. I think these few more lines of code are worth it if we stop
 parent theme edition on a LOT of sites.

 I can see where you're coming from, but as there's already an easy way to
 potentially destroy the WYSIWYG editor by adding bad CSS to it, there most
 certainly should be an easy way to fix it if needed.

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


More information about the wp-trac mailing list