Support » Plugins and Hacks » 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,redo

    I 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);
    }

Viewing 2 replies - 1 through 2 (of 2 total)
  • I’m also experiencing problems with the new TinyMCE 3.4.5 after upgrading wordpress to v 3.3.

    In my case the designated textareas don’t get replaced at all…

    I’m having the same problem with a plugin I created. Also seems to be effecting a few of the WYSIWYG Widget plugins I’ve tried. Any hints to how to fix it???

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘WordPress 3.3 wp_tiny_mce broken’ is closed to new replies.