Hy everybody,
I'm quite new at plugin's development for wordpress...
I'm developing a plugin that manage products and allow users to sale online.
I need TinyMCE for the description fields of the products.
Can anybody tell me how to call tinyMCE in my plugin ini ?
Thx,
Robin
hockinsk
Member
Posted 1 year ago #
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?