I am wondering is it posible to define add_editor_style to specific post types?
Currently I am using this function..
// EDITOR STYLE
add_editor_style('editor-style.css');
But I would like have multiple editor styles for various post types.
So guessing it could be like this...
if ( ... ) {
// EDITOR STYLE POSTS & PAGES
add_editor_style('editor-style.css');
} else if ( ... ) {
// EDITOR STYLE CUSTOM POST-TYPE BOOKS
add_editor_style('editor-style-books.css');
}
My post types are page
, post
, book
Any ideas would be great thanks