mirror of
https://github.com/cudr/slate-collaborative.git
synced 2026-03-02 03:40:18 +00:00
fix dependency update (#50)
* Always call external onChange. * Fix split_node missing properties bug. * fix: dependency update build Co-authored-by: Ulion <ulion2002@gmail.com>
This commit is contained in:
@@ -130,7 +130,9 @@ export const AutomergeEditor = {
|
||||
Editor.withoutNormalizing(e, () => {
|
||||
if (HistoryEditor.isHistoryEditor(e) && !preserveExternalHistory) {
|
||||
HistoryEditor.withoutSaving(e, () => {
|
||||
slateOps.forEach((o: Operation) => e.apply(o))
|
||||
slateOps.forEach((o: Operation) => {
|
||||
e.apply(o)
|
||||
})
|
||||
})
|
||||
} else {
|
||||
slateOps.forEach((o: Operation) => e.apply(o))
|
||||
|
||||
Reference in New Issue
Block a user