editor_contextmenu

Client side event handler for ClientSideOnContextMenu.

Note: This is a prototype, not a function. You should provide a function that matches this prototype if you wish to handle the corresponding event on the client side. The prototype provides information about the arguments and return value of the function you provide.

Syntax
JavaScript
 editor_contextmenu(editor, menu)

Parameters

editor
The client side Editor object.
menu
The client side Menu object.
Remarks

This event handler is called after the editor has prepared the context menu but before displaying it. You can use this handler to modify or cancel the context menu.

To modify the context menu, call appropriate methods on the client side Menu object. To cancel the context menu, return false from this handler.

See Also