Re: Regarding Insert Image in Cute Editor

  •  03-04-2014, 8:07 AM

    Re: Regarding Insert Image in Cute Editor

    Hi narendrababu,

     

    Please add the code below to the bottom of your page, it will catch this command, and you can achieve your own logic there. 

     

    1. <script type="text/javascript">  
    2. function CuteEditor_OnCommand(editor,command,ui,value)  
    3.  {  
    4.     if(command=="InsertImage")  
    5.     {  
    6.         //achieve your own code here  
    7.         //return true will disable the default command  
    8.        return true;  
    9.     }  
    10.       
    11. }  
    12. </script>  
     

    Regards,

     

    Ken 

View Complete Thread