CommitCompositionParams
Parameters for Lib.commitComposition.
Import:
import type { CommitCompositionParams } from 'obsidian-integration-testing';Signature:
export interface CommitCompositionParamsProperties
| Property | Type | Description |
|---|---|---|
| text | string | The text the composition is committed as. It replaces the composition's current text, so it may differ from it, for example by carrying a trailing separator. |
| window? | Window | The Obsidian window holding the composition: the main window or a popout. **On mobile** there are no popouts, so any window but the main one throws. |
Links to this page: