zend framework - tinymce editor remove for some textarea -
I have added some of the text, I am trying to delete the tinxes for some text except one texterity.
I am using the following code snippet to remove the tinnimus.
window.addEvent ('load', function () {$$ (textarea [id = "fields -"], textarea [id = "classified_photo _"]). (Item) {tinyMCE.execCommand ('mceFocus', wrong, item.get ('id')); tinyMCE.execCommand ("mceRemoveControl", incorrect, item.get ('id')); tinyMCE.triggerSave (); })}); After using the code snippet I found out that it is removing tinymce, but adding some html tags can be tinymce.
Any help would be very commendable. After you close a tinymce, the html source element (in your case textareas) will be valid eg.
Comments
Post a Comment