Shun Miyazawa hace 2 años
padre
commit
8953248cf7
Se han modificado 1 ficheros con 2 adiciones y 0 borrados
  1. 2 0
      apps/app/src/server/service/yjs-connection-manager.ts

+ 2 - 0
apps/app/src/server/service/yjs-connection-manager.ts

@@ -61,6 +61,8 @@ class YjsConnectionManager {
   }
   }
 
 
   public async handleYDocUpdate(pageId: string, newMarkdown: string): Promise<void> {
   public async handleYDocUpdate(pageId: string, newMarkdown: string): Promise<void> {
+    // TODO: https://redmine.weseek.co.jp/issues/132775
+    // It's necessary to confirm that the user is not editing the target page in the Editor
     const currentYdoc = this.getCurrentYdoc(pageId);
     const currentYdoc = this.getCurrentYdoc(pageId);
     const currentMarkdownLength = currentYdoc.getText('codemirror').length;
     const currentMarkdownLength = currentYdoc.getText('codemirror').length;
     currentYdoc.getText('codemirror').delete(0, currentMarkdownLength);
     currentYdoc.getText('codemirror').delete(0, currentMarkdownLength);