Re: What is this? <!-- Inject Script Filtered -->

  •  01-04-2007, 7:45 PM

    Re: What is this? <!-- Inject Script Filtered -->

    For my application, the editor still strips all script elements though I set EnableStripScriptTags = false.
     
    My application is an email editor page that allows users to edit 2 versions of email, html and plain text. There is a CuteEditor for html email and a TEXTAREA for plain text email in the same page. I use 2 radio buttons (postback) to switch between the CuteEditor and TEXTAREA, i.e. when Editor1.Visible=false, TextArea1.Visible=true; when Editor1.Visible=true, TextArea1.Visible=false.
     
    I put some Javascript code into the CuteEditor, then switch to TEXTAREA view. After switching back to the CuteEditor view, those Javascript code has been replaced with <!-- Inject Script Filtered -->. I do set EnableStripScriptTags = false. And, if the CuteEditor view postback to itself, the Javascript code is still there. Looks like switching between Editor1.Visible=true and false causes the issue.
     
    Any ideas? Thanks.
     
     
View Complete Thread