diff --git a/src/utils/Doc.js b/src/utils/Doc.js index 4a22f8ed..3e5411ac 100644 --- a/src/utils/Doc.js +++ b/src/utils/Doc.js @@ -171,7 +171,7 @@ export class Doc extends Observable { /** * Converts the entire document into a js object, recursively traversing each yjs type - * + * * @return {Object} */ toJSON () { @@ -183,7 +183,7 @@ export class Doc extends Observable { for (const [k, v] of this.share.entries()) { doc[k] = v.toJSON() } - + return doc }