Created
November 25, 2013 20:31
-
-
Save radist2s/7648357 to your computer and use it in GitHub Desktop.
Wordpress Custom TinMCE style.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
add_filter('tiny_mce_before_init', 'tinymce_before_init_extend'); | |
add_filter('teeny_mce_before_init', 'tinymce_before_init_extend'); | |
function tinymce_before_init_extend($atts) | |
{ | |
$custom_options = array( | |
'content_css' => get_bloginfo('template_url') . '/css/editor.css' | |
); | |
return array_merge($atts, $custom_options); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment