chore: format
This commit is contained in:
1 parent
c417fdd94d
commit
700349064d
97 files changed
+4650
-986
No files matched your search
@@ -138,7 +138,10 @@ export class SocketIOCollaborationProvider {
|
||||
// The Yjs plugin will automatically sync the content
|
||||
} else {
|
||||
// JSON content - use the existing approach
|
||||
const editorYdoc = prosemirrorJSONToYDoc(this.editor.schema, this.initialContent);
|
||||
const editorYdoc = prosemirrorJSONToYDoc(
|
||||
this.editor.schema,
|
||||
this.initialContent
|
||||
);
|
||||
if (editorYdoc) {
|
||||
Y.applyUpdate(this.doc, Y.encodeStateAsUpdate(editorYdoc));
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user