Prosemirror-changeset for tracking document changes including deletions

You’re making two different mistakes related to immutable values—addSteps returns a new change set, which you are just ignoring, and you shouldn’t mutate a state field value (currentValue) but create a new one instead.

See also this thread.

1 Like