search for: mce_editor_

Displaying 1 result from an estimated 1 matches for "mce_editor_".

2005 Dec 23
3
RE: Scriptaculous and Prototype based Rich TextEditor
...</script> My Ajax form has a textarea like this: <textarea name="text-foo" id="text-foo"><%= @item.text %></textarea> When my form appears on the page with the magic of Ajax (this is in a method in a wrapper object I use): this.editor_id = ''mce_editor_'' + tinyMCE.idCounter; tinyMCE.execCommand("mceAddControl", true, edit_element.id); In my ''Save'' function - the tinyMCE onsubmit code is hooked in too late for my purposes: tinyMCE.triggerSave(); The important part - when my Ajax form gets removed from the p...