add_editor_style not working

Question

I created a style sheet

editor-style.css

I want to load this css file using add_editor_style() function,

In my functions.php

function my_theme_add_editor_styles() {
    add_editor_style( 'css/editor-style.css' );
}
add_action( 'after_setup_theme', 'my_theme_add_editor_styles' );

I also tried this solution

add_editor_style is not loading in frontend. Any solution?

0
Relax 8 years 2015-01-10T13:03:02-05:00 0 Answers 94 views 0

Leave an answer

Browse
Browse