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.
Parameters
Section titled “Parameters”| Parameter | Type |
|---|---|
state | EditorState |
record | LedgerRecord |
Returns
Section titled “Returns”EditorState