obsidian/command-handlers/editor-command-handler
Command handler for editor commands with optional editor menu integration.
Classes
Section titled “Classes”| Class | Description |
|---|---|
| EditorCommandHandler | Command handler for editor commands. Subclasses override canExecuteEditor and executeEditor to provide behavior. Optionally integrates with the editor context menu via shouldAddToEditorMenu. |
Interfaces
Section titled “Interfaces”| Interface | Description |
|---|---|
| EditorCommandHandlerConstructorParams | Parameters for creating an editor command handler. |
| EditorCommandHandlerEditorCheckCallbackParams | Parameters for EditorCommandHandler.editorCheckCallback. |
| EditorCommandHandlerHandleEditorMenuParams | Parameters for EditorCommandHandler.handleEditorMenu. |