chore: format

This commit is contained in:
Timothy Jaeryang Baek
2026-01-08 01:55:56 +04:00
parent c417fdd94d
commit 700349064d
97 changed files with 4650 additions and 986 deletions
@@ -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));
}