Skip to content

BasesPluginInstance.onEditorMenu method

BasesPluginInstance › onEditorMenu

Unofficial

Adds the "new base" item to the editor context menu.

Signature:

onEditorMenu(menu: Menu, editor: Editor): void

Parameters:

ParameterTypeDescription
menuMenuThe context menu to extend.
editorEditorThe editor the menu was opened in.

Returns: void