OptionalannotationsSet annotations for this transaction.
OptionalchangesThe changes to the document made by this transaction.
OptionaleffectsAttach state effects to this transaction. Again, when they contain positions and this same spec makes changes, those positions should refer to positions in the updated document.
OptionalfilterBy default, transactions can be modified by change
filters and transaction
filters. You can set this
to false to disable that. This can be necessary for
transactions that, for example, include annotations that must be
kept consistent with their changes.
OptionalscrollWhen set to true, the transaction is marked as needing to
scroll the current selection into view.
OptionalselectionWhen set, this transaction explicitly updates the selection. Offsets in this selection should refer to the document as it is after the transaction.
OptionalsequentialNormally, when multiple specs are combined (for example by
EditorState.update), the
positions in changes are taken to refer to the document
positions in the initial document. When a spec has sequental
set to true, its positions will be taken to refer to the
document created by the specs before it instead.
OptionaluserShorthand for annotations: Transaction.userEvent.of(...).
Describes a transaction when calling the
EditorState.updatemethod.