BasesPluginInstance.onEditorMenu method
BasesPluginInstance › onEditorMenu
Unofficial
Adds the "new base" item to the editor context menu.Signature:
onEditorMenu(menu: Menu, editor: Editor): voidParameters:
| Parameter | Type | Description |
|---|---|---|
| menu | Menu | The context menu to extend. |
| editor | Editor | The editor the menu was opened in. |
Returns: void