In the app that i'm wirting, I have legacy text that is being loaded into the editor that sometimes contains <script></script> tags.
when this text is resubmitted, the tags and the content is being replaced with <!--{PS..0}-->.
I've tried setting
FCKConfig.EnableXHTML = false ;
FCKConfig.EnableSourceXHTML = false ;
but this does not help.
Anyone encounter this and able to fix it?
when this text is resubmitted, the tags and the content is being replaced with <!--{PS..0}-->.
I've tried setting
FCKConfig.EnableXHTML = false ;
FCKConfig.EnableSourceXHTML = false ;
but this does not help.
Anyone encounter this and able to fix it?
RE: <script> tags being replaced
You are reading the content of the editor with .innerHTML and that's the problem. You must use the Javascript API GetXHTML http://wiki.fckeditor.net/Developer%27s ... script_API