From 47989eba3338a0c95fc6522f189baaca29e712c4 Mon Sep 17 00:00:00 2001 From: Ulion Date: Mon, 21 Dec 2020 15:40:50 +0800 Subject: [PATCH] Always call external onChange. --- packages/client/src/withAutomerge.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/client/src/withAutomerge.ts b/packages/client/src/withAutomerge.ts index fe3bbaf..78b1f24 100644 --- a/packages/client/src/withAutomerge.ts +++ b/packages/client/src/withAutomerge.ts @@ -74,9 +74,9 @@ const withAutomerge = ( if (!e.isRemote) { AutomergeEditor.applySlateOps(e, docId, operations, cursorData) - - onChange() } + + onChange() } /**