createscape
12/9/2015 - 4:05 AM

add theme editor styles to wordpress

add theme editor styles to wordpress

function my_theme_add_editor_styles() {
    add_editor_style( 'custom-editor-style.css' );
}
add_action( 'admin_init', 'my_theme_add_editor_styles' );
// also requires custom-editor-styles.css in theme directory