Skip to content

EditorCommandHandler.executeEditor method

EditorCommandHandler › executeEditor

Executes the command for the given editor and context.

Signature:

executeEditor(editor: Editor, ctx: MarkdownFileInfo): Promisable<void>

Parameters:

ParameterTypeDescription
editorEditorThe editor instance.
ctxMarkdownFileInfoThe markdown file context.

Returns: Promisable<void>