Skip to content

Commit

Permalink
Always call external onChange. (#43)
Browse files Browse the repository at this point in the history
  • Loading branch information
ulion authored Jan 18, 2021
1 parent ef35812 commit 322b083
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/client/src/withAutomerge.ts
Original file line number Diff line number Diff line change
Expand Up @@ -74,9 +74,9 @@ const withAutomerge = <T extends Editor>(

if (!e.isRemote) {
AutomergeEditor.applySlateOps(e, docId, operations, cursorData)

onChange()
}

onChange()
}

/**
Expand Down

0 comments on commit 322b083

Please sign in to comment.