Re: Get current selected color?

  •  02-15-2011, 11:39 PM

    Re: Get current selected color?

    Hi AWilderbeast,
     
    Please try the code below, the value is the color value what you selected.
     
    1. <script>  
    2. function CuteEditor_OnCommand(editor,command,ui,value)  
    3.  {  
    4.     if(command=="ForeColor")  
    5.     {  
    6.        alert(value);   
    7.     }  
    8.   
    9. }  
    10. </script> 
     Regards,
     
    Ken
View Complete Thread