tuil
ReferencePackages@mwillbanks/tuil-editorAPI

applyEditorTransactions

function exported by @mwillbanks/tuil-editor.

View rawEdit

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

MemberTypeRequiredDescriptionRelated types
sessionEditorSessionYesSupplies the session value as EditorSession.EditorSession
transactionsreadonly EditorTransaction[]YesSupplies 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.

Source

View the secondary source reference

Package

@mwillbanks/tuil-editor

On this page