Ian McIntyre Silber
Ian McIntyre Silber

Reputation: 5663

add_editor_style() not working in 3.0.3

I'm trying to use add_editor_style() to add custom editor styles.

In template.php I've added:

<?php
add_editor_style();

I have a stylesheet in my theme directory called editor-style.css with the following css:

/* editor-style.css */
div { background-color: orange;}
p {color: red!important; font-size: 18px!important; }

Upvotes: 0

Views: 713

Answers (1)

Manzabar
Manzabar

Reputation: 676

I believe add_editor_style() must be in functions.php to work.

Upvotes: 1

Related Questions