Topbar
Topbar
Sign in
|
Join
|
Client Center
Home
Products
Client Center
Contact
Purchase
Support forums
»
Products
»
Cute Editor for .NET
»
Add custom items to tag context menu
Add custom items to tag context menu
08-06-2010, 8:22 AM
prasanthr
Joined on 01-08-2009
Posts 24
Add custom items to tag context menu
Reply
Quote
Hi,
function CuteEditor_AddTagMenuItems(menuitem,element)
{
//you can see the menu item in the TagList
menuitem.AddMenuItem(1,"MyMenuItem1","bold.gif",HandleMyMenuItem);
menuitem.AddMenuItem(1,"MyMenuItem2","bold2.gif",HandleMyMenuItem);
function HandleMyMenuItem()
{
alert(element.nodeName);
/*****here i want to write some code based on the menuitem clicked, is it possible???********/
}
}
regards
prasanth
Prasanth R
Filed under:
CuteEditor for .NET
,
context menu
,
dynamically add context tag menu
View Complete Thread