Bring projects, wikis, and teams together with AI. AppFlowy is the AI collaborative workspace where you achieve more without losing control of your data. The leading open source Notion alternative.
Dart blogconfluence-alternativecontent-managementcontent-servicesdocumentationflutternote-takingnotion-alternativeproject-managementtask-managementteam-collaborationwiki
fix: transform error
Vincent Chan593cc253c234
diff --git a/frontend/app_flowy/packages/flowy_editor/lib/operation/operation.dart b/frontend/app_flowy/packages/flowy_editor/lib/operation/operation.dartindex e07c196768..58fe8e2f14 100644--- a/frontend/app_flowy/packages/flowy_editor/lib/operation/operation.dart+++ b/frontend/app_flowy/packages/flowy_editor/lib/operation/operation.dart@@ -210,7 +210,7 @@ Operation transformOperation(Operation a, Operation b) {if (a is InsertOperation) {final newPath = transformPath(a.path, b.path);return b.copyWithPath(newPath);- } else if (b is DeleteOperation) {+ } else if (a is DeleteOperation) {final newPath = transformPath(a.path, b.path, -1);return b.copyWithPath(newPath);}