onContextMenuShow
function onContextMenuShow(options: ContextMenuOptions): void
Description
The function called when the context menu has been shown.
If a plugin is listening for this event, it must call the {@link /plugin/executeMethod/common/addcontextmenuitem AddContextMenuItem} method (synchronously or not), because the editor waits for responses from all plugins before filling the context menu.
Parameters
- options
ContextMenuOptions
Defines the context menu information.
Returns
void