[Bug]: Yjs document not updating when chaining commands #5792
Labels
Category: Open Source
The issue or pull reuqest is related to the open source packages of Tiptap.
Type: Bug
The issue or pullrequest is related to a bug
Affected Packages
core, react, yjs
Version(s)
2.9.1, 18.3.1, 13.6.20
Bug Description
When chaining certain commands, the Yjs document does not get updated.
Reproduction:
Replacing
with
gives the expected behavior
Browser Used
Chrome
Code Example URL
https://codesandbox.io/s/adoring-fermat-g68g75?file=/src/App.js
Expected Behavior
I expect the chained version to work equivalent to the unchained one.
Additional Context (Optional)
Since the update isn't detected on the Yjs document, it also doesn't get propagated to other clients/servers when using
HocuspocusProvider
for example.Dependency Updates
The text was updated successfully, but these errors were encountered: