Re: Extraneous characters inserted in saved text box content in Chrome

  •  11-17-2010, 7:20 PM

    Re: Extraneous characters inserted in saved text box content in Chrome

    Hi skrishguru,
     
    Also, you can try filter the extra code. Add the code below into the page and try again. Change the highlight code and make sure it same as your extra code. 
     
    <script>
    function CuteEditor_FilterHTML(editor,code)
    {
     return code.split("@import url(/css/cuteeditor.css); @import url(http://qa.guru.com/CuteSoft_Client/CuteEditor/Load.ashx?type=style&file=SyntaxHighlighter.css);@import url(/css/cuteeditor.css);").join("");
    }
    function CuteEditor_FilterCode(editor,code)
    {
    return code.split("@import url(/css/cuteeditor.css); @import url(http://qa.guru.com/CuteSoft_Client/CuteEditor/Load.ashx?type=style&file=SyntaxHighlighter.css);@import url(/css/cuteeditor.css);").join("");
    }
    </script> 
     
    Regards,
     
    Ken 
View Complete Thread