Skip to content

Documentation / joplin-plugin-api / MenuItemLocation

Enumeration: MenuItemLocation

Defined in: types.ts:242

Enumeration Members

Context

Context: "context"

Defined in: types.ts:253

Deprecated

Do not use - same as NoteListContextMenu


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"

Defined in: types.ts:273

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

Help

Help: "help"

Defined in: types.ts:248


Note

Note: "note"

Defined in: types.ts:246


NoteListContextMenu

NoteListContextMenu: "noteListContextMenu"

Defined in: types.ts:263

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.

TagContextMenu

TagContextMenu: "tagContextMenu"

Defined in: types.ts:281

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

Tools

Tools: "tools"

Defined in: types.ts:247


View

View: "view"

Defined in: types.ts:245

Released under the MIT License.