ComposeIntoEditorParams
Parameters for Lib.composeIntoEditor.
Import:
import type { ComposeIntoEditorParams } from 'obsidian-integration-testing';Signature:
export interface ComposeIntoEditorParamsProperties
| Property | Type | Description |
|---|---|---|
| chunking? | 'character' | 'word' | How ComposeIntoEditorParams.text is split into compositions. - 'word': one composition per word, growing a character at a time. A word's trailing whitespace is part of its commit. - 'character': one composition per character. |
| editor | Editor | The editor to compose into. It is focused, with the caret at the end of the document, first. The composition goes to the window that owns it. |
| text | string | The text to compose. |
Links to this page: