Editor.transaction method
Editor › transaction
Official
Apply a transaction to the editor.Signature:
transaction(tx: EditorTransaction, origin?: string | undefined): voidParameters:
| Parameter | Type | Description |
|---|---|---|
| tx | EditorTransaction | The editor transaction to apply. |
| origin? | string | undefined | The user event that triggered the transaction. |
Returns: void
Since: 0.13.0