Re: How to remove unwanted HTML tages rendered by CuteEditor

  •  12-07-2012, 8:27 AM

    Re: How to remove unwanted HTML tages rendered by CuteEditor

    Hi sethumail2000,

     

    Just need to add it to the bottom of your page, it will fire automatically.

     

    1. <!-- #include file = "cuteeditor_files/include_CuteEditor.asp" -->  
    2. <html>     
    3.     <head> 
    4.         <title>ASP Editor Demo</title> 
    5.     </head> 
    6.     <body> 
    7.          
    8.         <form name="theForm"
    9.         <% 
    10.             Dim editor 
    11.             Set editor = New CuteEditor 
    12.             editor.ID = "Editor1" 
    13.             editor.Draw() 
    14.         %> 
    15.         </form> 
    16.         <script type="text/javascript"
    17.             function CuteEditor_FilterHTML(editor, code) { 
    18.                 return code.replace(/(<form[^\>]*\>)([\s\S]*)(\<\/form\>)/ig, "$2"); 
    19.             } 
    20.             function CuteEditor_FilterCode(editor, code) { 
    21.                 return code.replace(/(<form[^\>]*\>)([\s\S]*)(\<\/form\>)/ig, "$2"); 
    22.             } 
    23.        </script>   
    24.     </body> 
    25. </html> 
     

    Regards,

     

    Ken

View Complete Thread