applyEditorTransactions
function exported by @mwillbanks/tuil-editor.
function
Public function exported by @mwillbanks/tuil-editor.
export function applyEditorTransactions(
session: EditorSession,
transactions: readonly EditorTransaction[],
): EditorSnapshot;Members
This declaration has no public members.
Parameters
| Member | Type | Required | Description | Related types |
|---|---|---|---|---|
session | EditorSession | Yes | Supplies the session value as EditorSession. | EditorSession |
transactions | readonly EditorTransaction[] | Yes | Supplies the transactions value as readonly EditorTransaction[]. | EditorTransaction |
Returns
EditorSnapshot — Returns a value that satisfies EditorSnapshot.
Related types: EditorSnapshot
Throws
No thrown errors are documented for this declaration.
Related types
Source
View the secondary source reference