Skip to content

EditorState.update method

EditorState › update

Official

Create a transaction that updates this state.

Signature:

update(specs?: readonly TransactionSpec[]): Transaction

Parameters:

Parameter Type Description
specs? readonly TransactionSpec[] The transaction specs.

Returns: TransactionThe created transaction.