Re: remove border / right to left writing / slow updating on IE

  •  10-11-2012, 11:52 AM

    Re: remove border / right to left writing / slow updating on IE

    Hi kresa3333,

     

    1. How to hide the editor border

     

    Please set property BorderStyle to none

     

    <CE:Editor ID="Editor1" runat="server" BorderStyle="none">
    </CE:Editor>
     

    2. Set property EditorBodyStyle to direction:rtl

     

    <CE:Editor ID="Editor1" runat="server"  EditorBodyStyle="direction:rtl">
    </CE:Editor>
     

    3. Please try the example below, it shows you how to hide the scroll bar

     

    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>example</title>  
    8. </head>  
    9. <body>  
    10.     <form id="form1" runat="server">  
    11.         <div style="direction: rtl">  
    12.         </div>  
    13.         <CE:Editor ID="Editor1" runat="server" ResizeMode="AutoAdjust">  
    14.         </CE:Editor>  
    15.     </form>  
    16. </body>  
    17. </html>  
    18.   
    19. <script>  
    20. function CuteEditor_OnInitialized(editor)  
    21. {  
    22.   var editdoc = editor.GetDocument();  
    23.   editdoc.body.style.overflow="hidden";  
    24. }  
    25. </script>  
     

    Regards,

     

    Ken 

View Complete Thread