Skip to content

TypeIntoEditorParams

Parameters for typeIntoEditor.

Import:

import type { TypeIntoEditorParams } from 'obsidian-dev-utils/obsidian/desktop-trusted-input';

Signature:

export interface TypeIntoEditorParams

Properties

PropertyTypeDescription
editorEditorThe editor to type into. It is focused (caret moved to the end of the document) before the keystrokes are injected.
textstringThe text to type. Each code point is pressed via pressKey, exactly as a real user typing.

Links to this page: