Are styles included in a stylesheet using add_editor_style loaded in the front end?

Below is the full code to include the editor style in a common way. <?php function my_theme_add_editor_styles() { add_editor_style( ‘custom-editor-style.css’ ); } add_action( ‘admin_init’, ‘my_theme_add_editor_styles’ ); ?> When you are adding the custom editor style, you need to use admin_init hook which is triggered only when you are inside the admin panel. So the stylesheet … Read more

add_editor_style is not working

I’ve now realized the code I posted works. I expected to see the stylesheet referenced in the head, but there is no such reference. It turns out the styles are being applied solely on the basis of the settings in tinyMCEPreInit. In fact, this is all that’s needed: add_editor_style(‘editor-style.css’);