Skip to content

applyLedgerRecord

function applyLedgerRecord(state, record): EditorState;

Defined in: ledger.ts:111

Fold one record’s ops over an EditorState, then apply its recorded final selection (meta.nextSelection) if present — mirroring applyTransaction. Pure; the input state is never mutated.

ParameterType
stateEditorState
recordLedgerRecord

EditorState