[PR #743] [MERGED] Feat/flowy editor input service #4305

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

📋 Pull Request Information

Original PR: https://github.com/AppFlowy-IO/AppFlowy/pull/743
Author: @LucasXu0
Created: 7/31/2022
Status: Merged
Merged: 8/1/2022
Merged by: @LucasXu0

Base: feat/flowy_editorHead: feat/flowy_editor_input_service


📝 Commits (10+)

  • 966eea2 chore: format code
  • c4b3c54 chore: format code
  • 55d46ed fix: node change notifier doesn't work
  • 575e01c feat: implement text replacement in singe selection
  • b245841 feat: implement text delete
  • 29fe481 fix: selection areas could not overlay
  • 89a0a55 fix: cursor cannot be selected in same position.
  • b577489 feat: implement delete multiple text node and merge the text.
  • d058f2d feat: bold the text by command/control + b/B
  • c65f2e1 fix: delete text in single line

📊 Changes

13 files changed (+345 additions, -130 deletions)

View changed files

📝 frontend/app_flowy/packages/flowy_editor/example/assets/example.json (+5 -12)
📝 frontend/app_flowy/packages/flowy_editor/example/lib/main.dart (+2 -0)
📝 frontend/app_flowy/packages/flowy_editor/lib/document/text_delta.dart (+5 -0)
📝 frontend/app_flowy/packages/flowy_editor/lib/operation/transaction_builder.dart (+39 -2)
📝 frontend/app_flowy/packages/flowy_editor/lib/render/selection/cursor_widget.dart (+6 -2)
📝 frontend/app_flowy/packages/flowy_editor/lib/render/selection/selection_widget.dart (+6 -2)
📝 frontend/app_flowy/packages/flowy_editor/lib/service/editor_service.dart (+40 -23)
📝 frontend/app_flowy/packages/flowy_editor/lib/service/input_service.dart (+46 -3)
frontend/app_flowy/packages/flowy_editor/lib/service/internal_key_event_handlers/delele_text_handler.dart (+82 -0)
frontend/app_flowy/packages/flowy_editor/lib/service/internal_key_event_handlers/delete_single_text_node_handler.dart (+0 -69)
frontend/app_flowy/packages/flowy_editor/lib/service/internal_key_event_handlers/update_text_style_by_command_x_handler.dart (+83 -0)
📝 frontend/app_flowy/packages/flowy_editor/lib/service/render_plugin_service.dart (+30 -16)
📝 frontend/app_flowy/packages/flowy_editor/lib/service/selection_service.dart (+1 -1)

📄 Description

No description provided


🔄 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/743 **Author:** [@LucasXu0](https://github.com/LucasXu0) **Created:** 7/31/2022 **Status:** ✅ Merged **Merged:** 8/1/2022 **Merged by:** [@LucasXu0](https://github.com/LucasXu0) **Base:** `feat/flowy_editor` ← **Head:** `feat/flowy_editor_input_service` --- ### 📝 Commits (10+) - [`966eea2`](https://github.com/AppFlowy-IO/AppFlowy/commit/966eea21791077231d0454ef05e66ef28af15bb6) chore: format code - [`c4b3c54`](https://github.com/AppFlowy-IO/AppFlowy/commit/c4b3c54a7c117db07053d4f44743b703d3f3c408) chore: format code - [`55d46ed`](https://github.com/AppFlowy-IO/AppFlowy/commit/55d46edeaf845eeb9a34c6f4f70a12c34466d66d) fix: node change notifier doesn't work - [`575e01c`](https://github.com/AppFlowy-IO/AppFlowy/commit/575e01c9094c9e9e01ef2c3fe804ddda540b7491) feat: implement text replacement in singe selection - [`b245841`](https://github.com/AppFlowy-IO/AppFlowy/commit/b245841ec3ac4ee89300a34b74033a12b93b1c13) feat: implement text delete - [`29fe481`](https://github.com/AppFlowy-IO/AppFlowy/commit/29fe4811c347cacf5501767d2e726e1505c56767) fix: selection areas could not overlay - [`89a0a55`](https://github.com/AppFlowy-IO/AppFlowy/commit/89a0a5599e40e15bcfaf6918552ad073860a6e72) fix: cursor cannot be selected in same position. - [`b577489`](https://github.com/AppFlowy-IO/AppFlowy/commit/b577489c2f04b406a5fe30c69b5f3b0d9217f3ed) feat: implement delete multiple text node and merge the text. - [`d058f2d`](https://github.com/AppFlowy-IO/AppFlowy/commit/d058f2d5914b39afb50c4fa6bb70369e9fef0f60) feat: bold the text by command/control + b/B - [`c65f2e1`](https://github.com/AppFlowy-IO/AppFlowy/commit/c65f2e1b38b32674fbcaf17536d5cf5e4363bd84) fix: delete text in single line ### 📊 Changes **13 files changed** (+345 additions, -130 deletions) <details> <summary>View changed files</summary> 📝 `frontend/app_flowy/packages/flowy_editor/example/assets/example.json` (+5 -12) 📝 `frontend/app_flowy/packages/flowy_editor/example/lib/main.dart` (+2 -0) 📝 `frontend/app_flowy/packages/flowy_editor/lib/document/text_delta.dart` (+5 -0) 📝 `frontend/app_flowy/packages/flowy_editor/lib/operation/transaction_builder.dart` (+39 -2) 📝 `frontend/app_flowy/packages/flowy_editor/lib/render/selection/cursor_widget.dart` (+6 -2) 📝 `frontend/app_flowy/packages/flowy_editor/lib/render/selection/selection_widget.dart` (+6 -2) 📝 `frontend/app_flowy/packages/flowy_editor/lib/service/editor_service.dart` (+40 -23) 📝 `frontend/app_flowy/packages/flowy_editor/lib/service/input_service.dart` (+46 -3) ➕ `frontend/app_flowy/packages/flowy_editor/lib/service/internal_key_event_handlers/delele_text_handler.dart` (+82 -0) ➖ `frontend/app_flowy/packages/flowy_editor/lib/service/internal_key_event_handlers/delete_single_text_node_handler.dart` (+0 -69) ➕ `frontend/app_flowy/packages/flowy_editor/lib/service/internal_key_event_handlers/update_text_style_by_command_x_handler.dart` (+83 -0) 📝 `frontend/app_flowy/packages/flowy_editor/lib/service/render_plugin_service.dart` (+30 -16) 📝 `frontend/app_flowy/packages/flowy_editor/lib/service/selection_service.dart` (+1 -1) </details> ### 📄 Description _No description provided_ --- <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:14 +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#4305
No description provided.