Skip to content

TypeIntoEditorParams

Parameters for CommonArguments.typeIntoEditor.

Import:

import type { TypeIntoEditorParams } from 'obsidian-integration-testing';

Signature:

export interface TypeIntoEditorParams

Properties

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