This project has moved. For the latest updates, please go here.

script tags in jHtmlArea

Jul 7, 2011 at 10:36 PM

Is it possible to retain script tags in the jHtmlArea rich text editor? I would like to use the editor within my content management system, but I need to be able to embed videos using script tags. Currently the jHtmlArea rich text editor strips out my script tags. Is there a configuration setting I could implement to override this default behavior?

Jul 8, 2011 at 5:30 PM

I suppose I should clarify. If I manually type a script tag into the jHtmlArea rich text editor, the script tag saves just fine. The problem occurs when I re-open that text in that same editor. The jHtmlArea rich text editor won't display the script tags, and when I submit the form again, the script tags are effectively stripped out of the result because they weren't displayed. I understand that some other editors have settings you can specify to keep special tags from being stripped out of the text area in this manner. Does the jHtmlArea have any such options?