Re: An automatic generation of text 'CSS Class Paragraph Default Font Size' when using Firefox

  •  01-13-2011, 7:56 PM

    Re: An automatic generation of text 'CSS Class Paragraph Default Font Size' when using Firefox

    Hi geoffo,
     
    If if only happens on one pc, I suggest you try html filter. Please try the example below, it should works on you xp pc.
     
    1. <%@ Page Language="C#" %>  
    2. <%@ Register TagPrefix="CE" Namespace="CuteEditor" Assembly="CuteEditor" %>  
    3. <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">  
    4.   
    5. <html xmlns="http://www.w3.org/1999/xhtml">  
    6. <head runat="server">  
    7.     <title>Untitled Page</title>  
    8. </head>  
    9. <body>  
    10.     <form id="form1" runat="server">  
    11.         <div>  
    12.             <CE:Editor id="editor1" runat="server">  
    13.             </CE:Editor>  
    14.         </div>  
    15.     </form>  
    16. </body>  
    17. </html>  
    18.   
    19. <script type="text/javascript">        
    20. function CuteEditor_FilterHTML(editor,code)     
    21. {     
    22.     return code.split("CSS Class  Paragraph  Default Font  Size").join("");  
    23.   
    24. }     
    25. function CuteEditor_FilterCode(editor,code)     
    26. {     
    27.    return code.split("CSS Class  Paragraph  Default Font  Size").join("");    
    28. }     
    29. </script> 
     
    Regards,
     
    ken
View Complete Thread