EditorCommandHandler.shouldAddToEditorMenu method
EditorCommandHandler › shouldAddToEditorMenu
Checks whether the command should appear in the editor context menu.Signature:
shouldAddToEditorMenu(_editor: Editor, _ctx: MarkdownFileInfo): booleanParameters:
| Parameter | Type | Description |
|---|---|---|
| _editor | Editor | The editor instance. |
| _ctx | MarkdownFileInfo | The markdown file context. |
Returns: boolean — Whether to add to the editor menu.