Re: Domain added in Code Snippet when using I.E. 8

  •  07-29-2010, 10:30 PM

    Re: Domain added in Code Snippet when using I.E. 8

    Hi bbajohr,
     
    This issue is caused by the browse behaviour. We don't have the solution yet.
     
    Please use the following temporary solution.
     
    1. <%@ Page Language="C#" %>   
    2.   
    3. <%@ Register Namespace="CuteEditor" Assembly="CuteEditor" TagPrefix="CE" %>   
    4. <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">   
    5. <html xmlns="http://www.w3.org/1999/xhtml">   
    6. <head id="Head1" runat="server">   
    7.     <title>Untitled Page</title>   
    8.     <style type="text/css">     
    9.   
    10. </style>   
    11. </head>   
    12. <body>   
    13.     <form id="form1" runat="server">   
    14.         <CE:Editor ID="editor1" runat="server">   
    15.         </CE:Editor>   
    16.     </form>   
    17. </body>   
    18. </html>   
    19.   
    20.   
    21. <script>   
    22. function CuteEditor_FilterHTML(editor,code)   
    23. {   
    24.  return code.replace("url(http://cht.yontrack.com""url(../..");   
    25. }   
    26. function CuteEditor_FilterCode(editor,code)   
    27. {   
    28.  return code.replace("url(http://cht.yontrack.com""url(../..");   
    29. }   
    30. </script>  
    Regards,
     
    ken
View Complete Thread