Re: Issues with EditorWysiwygModeCss

  •  11-15-2016, 3:05 PM

    Re: Issues with EditorWysiwygModeCss

    Please create an example page by the code below, does the api fire correct?

     

    1. <%@ Page Language="C#" %>  
    2.   
    3. <%@ Register Assembly="CuteEditor" Namespace="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. </head>  
    9. <body>  
    10.     <form id="form1" runat="server">  
    11.        <CE:Editor ID="cuteEditor" runat="server">   
    12.         </CE:Editor>  
    13.     </form>  
    14. </body>  
    15. </html>  
    16. <script type="text/javascript">  
    17. function CuteEditor_OnInitialized(editor)  
    18. {  
    19.     alert("Editor loads complete!");  
    20. }  
    21.   
    22. function CuteEditor_OnCommand(editor,command,ui,value)  
    23.  {  
    24.     alert("command "+command+" fire!");  
    25. }  
    26.   
    27. </script>  
     

    Regards,

     

    ken 

View Complete Thread