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. Enter image details here

Any help would be very commendable. After you close a tinymce, the html source element (in your case textareas) will be valid eg.

Comments

Popular posts from this blog

excel vba - How to delete Solver(SOLVER.XLAM) code -

github - Teamcity & Git - PR merge builds - anyway to get HEAD commit hash? -

ios - Replace text in UITextView run slowly -