TypeIntoEditorParams
Parameters for typeIntoEditor.
Import:
import type { TypeIntoEditorParams } from '@mnaoumov/obsidian-lib/desktop-trusted-input';Signature:
export interface TypeIntoEditorParamsProperties
| Property | Type | Description |
|---|---|---|
| editor | Editor | The editor to type into. It is focused (caret moved to the end of the document) before the keystrokes are injected. The keystrokes go to the window that owns the editor, so an editor in a popout is typed into in that popout with no extra parameter. |
| text | string | The text to type. Each code point is pressed via pressKey, exactly as a real user typing. |
Links to this page: