Shun Miyazawa %!s(int64=2) %!d(string=hai) anos
pai
achega
8953248cf7
Modificáronse 1 ficheiros con 2 adicións e 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> {
+    // 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 currentMarkdownLength = currentYdoc.getText('codemirror').length;
     currentYdoc.getText('codemirror').delete(0, currentMarkdownLength);