chore: format

This commit is contained in:
Timothy Jaeryang Baek committed 2026-01-08 01:55:56 +04:00
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));
}