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

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

I found this article:


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:


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 .mceContentBody element, I can see that is using my stylesheet, but it is being overrriden by the default editor-style.css sheet from the twentyten theme.

How can I force it to use my editor-style.css file and not the default one?

Wordpress list_pages setting the li attribute and a drop down menu


Wordpress: custom contact page page for each member
wordpress category with products on home page
assuming that your custom css is in your template's root folder..
WordPress get_posts problem; adding category argument seemingly nullifies numberposts

is buddypress out of wordpress family?

Can owner of website track who are signing up RSS feeds in wordpress site? [closed]


Why is style.css breaking my custom Wordpress theme?
Try redeclaring twentyten_setup in your theme's functions.php file.

Custom Menu in Wordpress [closed]
Just copy and paste the whole function from twentyten to your theme..


Check your CSS for errors.

I spent hours pulling my hair out wondering why wordpress wasn't using my stylesheet.

It wasn't even getting included.

Turns out i had an extra { in my css..

78 out of 100 based on 33 user ratings 158 reviews