Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- add_action("admin_head","load_custom_wp_tiny_mce");
- function load_custom_wp_tiny_mce() {
- if (function_exists('wp_tiny_mce')) {
- add_filter('teeny_mce_before_init', create_function('$a', '
- $a["theme"] = "advanced";
- $a["skin"] = "wp_theme";
- $a["height"] = "200";
- $a["width"] = "800";
- $a["onpageload"] = "";
- $a["mode"] = "exact";
- $a["elements"] = "att_meta_bio";
- $a["editor_selector"] = "mceEditor";
- $a["plugins"] = "safari,inlinepopups,spellchecker";
- $a["forced_root_block"] = false;
- $a["force_br_newlines"] = true;
- $a["force_p_newlines"] = false;
- $a["convert_newlines_to_brs"] = true;
- return $a;'));
- wp_tiny_mce(true);
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement