TypeIntoEditorParams
Parameters for typeIntoEditor.
Import:
import type { TypeIntoEditorParams } from 'obsidian-dev-utils/obsidian/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. |
| text | string | The text to type. Each code point is pressed via pressKey, exactly as a real user typing. |
Links to this page: