[Plugin: FontMeister – The Font Management Plugin] Modify code to not overwrite theme editor-style.c
-
I like the addition of the font stack to the mce editor quite a bit. However, I had to modify the code to not overwrite the URL to my theme’s editor-style.css file when updating content_css. In the extend_tinymce_dropdown function I changed:
$opt['content_css'] = $content_css;
to
$opt['content_css'] .= ',' .$content_css; // modify to add to content_css with a comma, rather than replace all content - jv
This change or something like it would help your plugin integrate easier with a wider range of WP configurations.
Thanks,
Josh
Viewing 4 replies - 1 through 4 (of 4 total)
Viewing 4 replies - 1 through 4 (of 4 total)
- The topic ‘[Plugin: FontMeister – The Font Management Plugin] Modify code to not overwrite theme editor-style.c’ is closed to new replies.