Forum Replies Created

Viewing 2 replies - 1 through 2 (of 2 total)
  • I’m having a problem getting TinyMCE to remain displayed after saving the widget form in admin.

    I use the following in form()function to apply tinymce to a textarea in

    wp_tiny_mce( true , array(“editor_selector” => $this->get_field_id(‘html_content’)));

    but when I hit ‘Save’ the ajax fires and attempts to save the value in tinymce. It fails for some reason and then the textarea reverts to being a normal textarea in the update() function of my form.

    Anyone know how to get tinymce to work in the context of a widget and to save the value?

    Thread Starter hockinsk

    (@hockinsk)

    Looked into this for 3 hours this morning, looks like we’ll just have to hardcode all the javascript into header.php for developers to work with localhost and then switch it all to use bloginfo() when moving to development>staging>live servers to use siteurl in database. What a complete PITA!

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