Re: Add custom items to tag context menu

  •  08-09-2010, 10:45 PM

    Re: Add custom items to tag context menu

    Hi Adam,
     
    Thanks for your prompt reply..
     
    Anyway, I have achieved that by clearing all the subitems.
     
     function CuteEditor_AddTagMenuItems(menuitem, element) {
                        menuitem.items.clear(); // This will clear all the subitems of tag menu, except style and properties                 
                         menuitem.AddMenuItem(1, "Menuitem1", "bold.gif", DefaultMenuHandler);

                        function DefaultMenuHandler() {
                     alert(;menu clicked');       
                        }
     }
    but i want to remove the style menu also...hmm...ok... we expect a menuitem removing method in future version
     
    regards
    prasanth

    Prasanth R
View Complete Thread