twenty-ten-theme

How do I use new add_editor_style() function in wordPress?

我怕爱的太早我们不能终老 提交于 2019-12-25 00:37:40
问题 I found this article: http://www.deluxeblogtips.com/2010/05/editor-style-wordpress-30.html I created a child theme using the Twentyten theme as a parent. I am trying to have the WYSIWYG editor use a custom stylesheet. I added this to my functions.php file: add_editor_style(); Then I created an editor-style.css file in my child theme's folder and added this: html .mceContentBody { max-width:591px; } When I go to the WYSIWYG editor and use firebug to check the css that is affecting the