Contextmenu customization

  •  02-23-2005, 7:03 AM

    Contextmenu customization

    In 3.0 we could add our own contextmenu with a bit javacript  meddling.
     
    In version 4.0, we decided to revise this. The default contextmenu is very nice, but I would like to add stuff to this.
    Specifically we how some values we would like the user to be able to choose from and paste into the text. So I would like something like this to be possible:
    ContextMenuItem i = editor.ContextMenu.Items.Add("Paste special values");
    i.Items.Add("Some special value","The value");
     
    The action we are looking for is "Paste the value here".
    This would be a very nice way to extend the current menu.
     
    Morten
View Complete Thread