Re: AttachEvent for characters left

  •  03-12-2014, 9:07 AM

    Re: AttachEvent for characters left

    Hi SJochums,

     

    it has no API to catch the button up, but you can catch the button command by the api below.  It will fire when user click on anyone of the editor buttons.

     

    1. <script type="text/javascript">  
    2. function CuteEditor_OnCommand(editor,command,ui,value)  
    3.  {  
    4.     //handle the command by yourself  
    5.    if(command=="Undo")  
    6.    {  
    7.         alert("undo");  
    8.    }  
    9. }  
    10. </script>  
     

    Regards,

     

    Ken 

View Complete Thread