[wp-trac] [WordPress Trac] #21026: add_editor_style() in child theme not working for editor_style.css

WordPress Trac wp-trac at lists.automattic.com
Wed Jun 20 15:19:29 UTC 2012


#21026: add_editor_style() in child theme not working for editor_style.css
--------------------------+-----------------------------
 Reporter:  richardwo     |      Owner:
     Type:  defect (bug)  |     Status:  new
 Priority:  normal        |  Milestone:  Awaiting Review
Component:  Editor        |    Version:  3.4
 Severity:  normal        |   Keywords:
--------------------------+-----------------------------
 created a child theme of twentyeleven
 functions.php contains add_editor_style();
 editor-style.css in the theme folder.
 This file is not picked up by TinyMCE (confirmed by looking at
 tinyMCEPreInit in source).

 Changing the name of the css file to e.g. child-editor-style.css and using
 add_editor_style( 'child-editor-style.css' );
 works fine.

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/21026>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list