Question

So after I found that altering content.css from the tinymce plugin folder didn't work I tried the content_css routine by adding a filter to functions.php:

function tinymce_other_css_for_content( $init ) {
$init['content_css'] = get_bloginfo('stylesheet_url') . "customtinymce.css";
return $init;
}

add_filter('tiny_mce_before_init', 'tinymce_other_css_for_content');

and added

body#tinymce.mceContentBody.bbp_reply_content.post-type-topic.wp-editor{
   color: red !important; /* FF requires a important here */
}

to customtinymce.css and placed it in my theme root.

Didn't work, is there something I'm doing wrong?

Thanks in advance.

P.S. I'm also looking for a solution that only colors the textarea for the forums, not the WP admin dashboard.

Était-ce utile?

La solution

Might be because of some sort of caching (client or server-sided), can't tell from here without knowledge of the systems involved and their configuration

Licencié sous: CC-BY-SA avec attribution
Non affilié à StackOverflow
scroll top