Skip to content

EditorCommandHandlerHandleEditorMenuParams

Parameters for EditorCommandHandler.handleEditorMenu.

Import:

import type { EditorCommandHandlerHandleEditorMenuParams } from 'obsidian-dev-utils/obsidian/command-handlers/editor-command-handler';

Signature:

export interface EditorCommandHandlerHandleEditorMenuParams

Properties

PropertyTypeDescription
ctxMarkdownFileInfoThe markdown file context.
editorEditorThe editor instance.
menuMenuThe menu to add items to.