Normalize doc after load.

This commit is contained in:
Ulion 2021-01-22 11:34:42 +08:00
parent 4a150a5125
commit 9ff2ecf29a

View File

@ -103,6 +103,7 @@ export const AutomergeEditor = {
}) })
// onChange expect valid doc, we make sure do normalization before that. // onChange expect valid doc, we make sure do normalization before that.
Editor.normalize(e, { force: true })
e.onChange() e.onChange()
}, },