UNPKG

obsidian-dev-utils

Version:

This is the collection of useful functions that you can use for your Obsidian plugin development

19 lines (18 loc) 428 B
/** * @packageDocumentation * * This module provides utility functions for working with markdown editors in Obsidian */ import type { Editor } from 'obsidian'; /** * Locks the editor. * * @param editor - The editor to lock. */ export declare function lockEditor(editor: Editor): void; /** * Unlocks the editor. * * @param editor - The editor to unlock. */ export declare function unlockEditor(editor: Editor): void;