Skip to content

Documentation / joplin-plugin-api / MenuItemLocation

Enumeration: MenuItemLocation

Enumeration Members

Context

Context: "context"

Deprecated

Do not use - same as NoteListContextMenu

Defined in

types.ts:253


Edit

Edit: "edit"

Defined in

types.ts:244


EditorContextMenu

EditorContextMenu: "editorContextMenu"

Defined in

types.ts:265


File

File: "file"

Defined in

types.ts:243


FolderContextMenu

FolderContextMenu: "folderContextMenu"

When a command is called from a folder context menu, the command will receive the following arguments:

  • folderId:string: ID of the folder that was right-clicked on

Defined in

types.ts:273


Help

Help: "help"

Defined in

types.ts:248


Note

Note: "note"

Defined in

types.ts:246


NoteListContextMenu

NoteListContextMenu: "noteListContextMenu"

When a command is called from the note list context menu, the command will receive the following arguments:

  • noteIds:string[]: IDs of the notes that were right-clicked on.

Defined in

types.ts:263


TagContextMenu

TagContextMenu: "tagContextMenu"

When a command is called from a tag context menu, the command will receive the following arguments:

  • tagId:string: ID of the tag that was right-clicked on

Defined in

types.ts:281


Tools

Tools: "tools"

Defined in

types.ts:247


View

View: "view"

Defined in

types.ts:245

Released under the MIT License.