EditorTransaction
interface exported by @mwillbanks/tuil-editor.
interface
Public interface exported by @mwillbanks/tuil-editor.
export interface EditorTransaction {
readonly changes?: readonly EditorChange[];
readonly selections?: readonly EditorSelection[];
readonly annotations?: Readonly<Record<string, unknown>>;
readonly addToHistory?: boolean;
}Members
| Member | Type | Required | Description | Related types |
|---|---|---|---|---|
changes | readonly EditorChange[] | undefined | No | The changes member uses the readonly EditorChange[] | undefined contract. | EditorChange |
selections | readonly EditorSelection[] | undefined | No | The selections member uses the readonly EditorSelection[] | undefined contract. | EditorSelection |
annotations | Readonly<Record<string, unknown>> | undefined | No | The annotations member uses the Readonly<Record<string, unknown>> | undefined contract. | — |
addToHistory | boolean | undefined | No | The addToHistory member uses the boolean | undefined contract. | — |
Parameters
This declaration has no public members.
Returns
This declaration does not return a value.
Throws
No thrown errors are documented for this declaration.
Related types
Source
View the secondary source reference