WordPress 3.3 wp_tiny_mce broken
-
Any idea how can I select different buttons with wp_editor()?
I need only to have these buttons:
bold,italic,underline,bullist,numlist,undo,redoI was able to do with the following code… Not anymore!
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”] = “mytextarea,mytextarea2”;
$a[“editor_selector”] = “mceEditor”;
$a[“plugins”] = “safari,inlinepopups,spellchecker”;
$a[“theme_advanced_buttons1”] = “bold,italic,underline,separator,bullist,numlist,separator,undo,redo”;$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);
}
The topic ‘WordPress 3.3 wp_tiny_mce broken’ is closed to new replies.