EditorState.update method
EditorState › update
Official
Create a transaction that updates this state.Signature:
update(specs?: readonly TransactionSpec[]): TransactionParameters:
| Parameter | Type | Description |
|---|---|---|
| specs? | readonly TransactionSpec[] | The transaction specs. |
Returns: Transaction — The created transaction.