R
fn

createTransaction

tested

Start a transaction from the current editor state.

Signature

ts
export function createTransaction(state: EditorState): Transaction{ ... }

Parameters

ParameterTypeDescription
stateEditorState

Returns

Transaction