-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Move to appendTransaction based architecture
Problem: The current architecture which always replaces an incoming ProseMirror transaction with a new transaction breaks many ProseMirror plugins - including the history plugin. Solution: Instead of replacing the incoming transaction, just apply it to the automerge document and then check that the transaction we would have produced matches the incoming transaction. If the transactions don't match then a) we append a change which fixes up the incoming transaction without breaking plugins and b) log an error because it means we've done something wron.
- Loading branch information
Showing
22 changed files
with
412 additions
and
441 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.