mirror of
https://github.com/cudr/slate-collaborative.git
synced 2024-10-27 20:34:06 +00:00
Normalize doc after load.
This commit is contained in:
parent
4a150a5125
commit
9ff2ecf29a
@ -103,6 +103,7 @@ export const AutomergeEditor = {
|
||||
})
|
||||
|
||||
// onChange expect valid doc, we make sure do normalization before that.
|
||||
Editor.normalize(e, { force: true })
|
||||
e.onChange()
|
||||
},
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user