Add custom styles to visual editor Wordpress
// Add custom CTA styles to TinyMCE editor
if ( ! function_exists('tdav_css') ) {
function tdav_css($wp) {
$wp .= ',' . get_bloginfo('stylesheet_directory') . '/css/tinymce.css';
return $wp;
}
}
add_filter( 'mce_css', 'tdav_css' );