Re: How to "gray out" a menu button in Toolbar

  •  05-26-2011, 8:56 PM

    Re: How to "gray out" a menu button in Toolbar

     
    The code below shows you how to disable the function but not remove the button.
     
    For now does not achieve to  gray out the button directly.
     
    <script>
    function CuteEditor_OnCommand(editor,command,ui,value)
    {
        if(command=="InsertImage")
        {
            alert("Disable!");
            return true;
        }
    }
    </script>
     
     
    Regards,
     
    Ken
View Complete Thread