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

Last post 10-11-2012, 11:52 AM by Kenneth. 1 replies.
Sort Posts: Previous Next
  •  10-11-2012, 8:20 AM 74957

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

    hello i wanted to ask about 3 problems i am having a solution for any of those will be great !
    1) i want to remove the border for my viewing page , i want the user wont feel there is an editor on that page  but i cant seem to find the right away to remove it , the regular  editor.border = 0px etc aint working 
    2)is there a place where u can define the editor to work on start up from right to left?  i am using rtl languge and when i use something like 

    it jumps to the start of that line 
    3) the loading on the page with the editor on edit mode takes alot of time maybe you know what can cause such long loading 
    I like your editor it has some really nice features i couldnt find in other editors , i hope you can help me 
    Thanks from advance! 
    p.s  i now noticed that when i tried to run it on google chrome and firefox  it went very fast  but on those 2 web browsers i now encountered another problem , i use auto resize and on chrome and firefox  it still leaves a small scrolling area while in IE it works well and spreads on the page fully 

  •  10-11-2012, 11:52 AM 74962 in reply to 74957

    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 as RSS news feed in XML