[PR #655] [MERGED] Feat: undo manager #4263

Closed
opened 2026-03-23 21:37:02 +00:00 by mirror · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/AppFlowy-IO/AppFlowy/pull/655
Author: @vincentdchan
Created: 7/20/2022
Status: Merged
Merged: 7/21/2022
Merged by: @vincentdchan

Base: feat/flowy_editorHead: feat/undo-manager


📝 Commits (3)

  • f4bbe77 feat: undo manager
  • 0626912 feat: add comment and fix issues
  • 7ae153f fix(typo): comments of UndoManager

📊 Changes

4 files changed (+172 additions, -12 deletions)

View changed files

📝 frontend/app_flowy/packages/flowy_editor/example/lib/plugin/text_node_widget.dart (+11 -0)
📝 frontend/app_flowy/packages/flowy_editor/lib/editor_state.dart (+45 -10)
📝 frontend/app_flowy/packages/flowy_editor/lib/operation/transaction_builder.dart (+2 -2)
frontend/app_flowy/packages/flowy_editor/lib/undo_manager.dart (+114 -0)

📄 Description

This PR is implementing a simple UndoManager for the FlowyEditor.

Known issue:

  • Wrong cursor after redo(Will be fixed in another PR)

🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/AppFlowy-IO/AppFlowy/pull/655 **Author:** [@vincentdchan](https://github.com/vincentdchan) **Created:** 7/20/2022 **Status:** ✅ Merged **Merged:** 7/21/2022 **Merged by:** [@vincentdchan](https://github.com/vincentdchan) **Base:** `feat/flowy_editor` ← **Head:** `feat/undo-manager` --- ### 📝 Commits (3) - [`f4bbe77`](https://github.com/AppFlowy-IO/AppFlowy/commit/f4bbe776122bb173adb9604ecc47a0b5397337cb) feat: undo manager - [`0626912`](https://github.com/AppFlowy-IO/AppFlowy/commit/0626912a4c2b2ab7c6cdcc10e42064e585d6bf59) feat: add comment and fix issues - [`7ae153f`](https://github.com/AppFlowy-IO/AppFlowy/commit/7ae153f5daf627cc8d83d29926c5420d4cdd793a) fix(typo): comments of UndoManager ### 📊 Changes **4 files changed** (+172 additions, -12 deletions) <details> <summary>View changed files</summary> 📝 `frontend/app_flowy/packages/flowy_editor/example/lib/plugin/text_node_widget.dart` (+11 -0) 📝 `frontend/app_flowy/packages/flowy_editor/lib/editor_state.dart` (+45 -10) 📝 `frontend/app_flowy/packages/flowy_editor/lib/operation/transaction_builder.dart` (+2 -2) ➕ `frontend/app_flowy/packages/flowy_editor/lib/undo_manager.dart` (+114 -0) </details> ### 📄 Description This PR is implementing a simple UndoManager for the FlowyEditor. Known issue: - Wrong cursor after redo(Will be fixed in another PR) --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
mirror 2026-03-23 21:37:02 +00:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
AppFlowy-IO/AppFlowy#4263
No description provided.