mirror of
https://github.com/cudr/slate-collaborative.git
synced 2024-10-27 20:34:06 +00:00
Call onChange after normalization
This commit is contained in:
parent
f65ab040ee
commit
4a150a5125
@ -100,9 +100,10 @@ export const AutomergeEditor = {
|
||||
|
||||
Editor.withoutNormalizing(e, () => {
|
||||
e.children = toJS(mergedDoc).children
|
||||
|
||||
e.onChange()
|
||||
})
|
||||
|
||||
// onChange expect valid doc, we make sure do normalization before that.
|
||||
e.onChange()
|
||||
},
|
||||
|
||||
/**
|
||||
|
Loading…
Reference in New Issue
Block a user