PluginEditorExtensionRegistrar
Editor extension registrar in an Obsidian plugin.
Import:
import { PluginEditorExtensionRegistrar } from '@mnaoumov/obsidian-lib/editor-extension-registrar';Signature:
export class PluginEditorExtensionRegistrar implements EditorExtensionRegistrarImplements: EditorExtensionRegistrar
Constructor
new PluginEditorExtensionRegistrar(plugin: Plugin)Creates a new instance of the PluginEditorExtensionRegistrar class.
Properties
| Property | Type | Description |
|---|---|---|
| registerEditorExtension | (extension: Extension) => void | Registers an editor extension. (Inherited from EditorExtensionRegistrar) |
Methods
| Method | Returns | Description |
|---|---|---|
| registerEditorExtension(extension) | void | Registers an editor extension. |