Define add_editor_style to specific post types?
The first issue is that add_editor_style() is usually called in Theme setup functions that get hooked into after_setup_theme – which is well before the query is set up and the post type determined. So, you’ll need to move add_editor_style() to a separate callback, that gets called after the query is setup, but before TinyMCE is … Read more