• Resolved mbzbugsy

    (@mbzbugsy)


    Hi,

    I’m new to WordPress, so I was hoping i might get some help here. I’m creating a plug-in from scratch and need to add a WYSIWYG textareas and inputs inside my forms. I would like to add the default one that is being used in Posts and Page section. I’m grateful for any help.

    Thanks

Viewing 2 replies - 1 through 2 (of 2 total)
  • Thread Starter mbzbugsy

    (@mbzbugsy)

    ok so far have tested this code and managed to get MCE load in the textarea. But I like it to be in advance mode like in post and pages. Any ideas ?

    add_filter( ‘teeny_mce_before_init’, create_function( ‘$a’, ‘$a[“height”] = “400”; $a[“width”] = “600”; $a[“onpageload”] = “”; $a[“mode”] = “textareas”; $a[“editor_selector”] = “mceEditor”; return $a;’ ) );
    wp_tiny_mce( true );

    Thanks for any help

    Thread Starter mbzbugsy

    (@mbzbugsy)

    Ok, I found all the answers I needed in this thread. I thank the others for sharing and saving my day. It’s really great to have people who care and help others.

    Thanks

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘MCE in Plugin’ is closed to new replies.