WordPress.org

Ready to get started?Download WordPress

Forums

WordPress 3.3 wp_tiny_mce broken (3 posts)

  1. jbmw
    Member
    Posted 2 years ago #

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

  2. tobiasbeuving
    Member
    Posted 2 years ago #

    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...

  3. Matthew Fries
    Member
    Posted 2 years ago #

    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???

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.