EditorCommandHandler.canExecuteEditor method
EditorCommandHandler › canExecuteEditor
Checks whether the command can execute for the given editor and context.Signature:
canExecuteEditor(_editor: Editor, _ctx: MarkdownFileInfo): booleanParameters:
| Parameter | Type | Description |
|---|---|---|
| _editor | Editor | The editor instance. |
| _ctx | MarkdownFileInfo | The markdown file context. |
Returns: boolean — Whether the command can execute.