[PR #709] [MERGED] feat: Implement arrow up/down/left/right event handler. #708 #4289

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

📋 Pull Request Information

Original PR: https://github.com/AppFlowy-IO/AppFlowy/pull/709
Author: @LucasXu0
Created: 7/25/2022
Status: Merged
Merged: 7/26/2022
Merged by: @appflowy

Base: feat/flowy_editorHead: feat/flowy_editor


📝 Commits (3)

  • 2f86cac feat: Implement arrow up/down/left/right event handler. #708
  • 0bf1e61 feat: implement floating shortcut
  • fcb09e9 feat: typo and document

📊 Changes

16 files changed (+355 additions, -32 deletions)

View changed files

📝 frontend/app_flowy/packages/flowy_editor/example/lib/main.dart (+26 -0)
📝 frontend/app_flowy/packages/flowy_editor/example/lib/plugin/image_node_widget.dart (+11 -1)
📝 frontend/app_flowy/packages/flowy_editor/example/lib/plugin/selected_text_node_widget.dart (+31 -1)
📝 frontend/app_flowy/packages/flowy_editor/lib/editor_state.dart (+5 -3)
📝 frontend/app_flowy/packages/flowy_editor/lib/render/selection/cursor_widget.dart (+4 -4)
frontend/app_flowy/packages/flowy_editor/lib/render/selection/floating_shortcut_widget.dart (+58 -0)
📝 frontend/app_flowy/packages/flowy_editor/lib/render/selection/flowy_selection_widget.dart (+4 -4)
📝 frontend/app_flowy/packages/flowy_editor/lib/render/selection/selectable.dart (+28 -6)
📝 frontend/app_flowy/packages/flowy_editor/lib/service/editor_service.dart (+17 -2)
frontend/app_flowy/packages/flowy_editor/lib/service/floating_shortcut_service.dart (+60 -0)
frontend/app_flowy/packages/flowy_editor/lib/service/flowy_key_event_handlers/arrow_keys_handler.dart (+37 -0)
📝 frontend/app_flowy/packages/flowy_editor/lib/service/flowy_key_event_handlers/delete_single_text_node_handler.dart (+3 -7)
frontend/app_flowy/packages/flowy_editor/lib/service/flowy_key_event_handlers/shortcut_handler.dart (+30 -0)
📝 frontend/app_flowy/packages/flowy_editor/lib/service/keyboard_service.dart (+1 -1)
📝 frontend/app_flowy/packages/flowy_editor/lib/service/selection_service.dart (+13 -3)
frontend/app_flowy/packages/flowy_editor/lib/service/service.dart (+27 -0)

📄 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/709 **Author:** [@LucasXu0](https://github.com/LucasXu0) **Created:** 7/25/2022 **Status:** ✅ Merged **Merged:** 7/26/2022 **Merged by:** [@appflowy](https://github.com/appflowy) **Base:** `feat/flowy_editor` ← **Head:** `feat/flowy_editor` --- ### 📝 Commits (3) - [`2f86cac`](https://github.com/AppFlowy-IO/AppFlowy/commit/2f86cac8af9343b3812bfca42f6edfbe003c20a7) feat: Implement arrow up/down/left/right event handler. #708 - [`0bf1e61`](https://github.com/AppFlowy-IO/AppFlowy/commit/0bf1e61d5503be09463e5cab7fed892b858e8e0d) feat: implement floating shortcut - [`fcb09e9`](https://github.com/AppFlowy-IO/AppFlowy/commit/fcb09e96367259d9a1951dad97dcc1141b3e3b9d) feat: typo and document ### 📊 Changes **16 files changed** (+355 additions, -32 deletions) <details> <summary>View changed files</summary> 📝 `frontend/app_flowy/packages/flowy_editor/example/lib/main.dart` (+26 -0) 📝 `frontend/app_flowy/packages/flowy_editor/example/lib/plugin/image_node_widget.dart` (+11 -1) 📝 `frontend/app_flowy/packages/flowy_editor/example/lib/plugin/selected_text_node_widget.dart` (+31 -1) 📝 `frontend/app_flowy/packages/flowy_editor/lib/editor_state.dart` (+5 -3) 📝 `frontend/app_flowy/packages/flowy_editor/lib/render/selection/cursor_widget.dart` (+4 -4) ➕ `frontend/app_flowy/packages/flowy_editor/lib/render/selection/floating_shortcut_widget.dart` (+58 -0) 📝 `frontend/app_flowy/packages/flowy_editor/lib/render/selection/flowy_selection_widget.dart` (+4 -4) 📝 `frontend/app_flowy/packages/flowy_editor/lib/render/selection/selectable.dart` (+28 -6) 📝 `frontend/app_flowy/packages/flowy_editor/lib/service/editor_service.dart` (+17 -2) ➕ `frontend/app_flowy/packages/flowy_editor/lib/service/floating_shortcut_service.dart` (+60 -0) ➕ `frontend/app_flowy/packages/flowy_editor/lib/service/flowy_key_event_handlers/arrow_keys_handler.dart` (+37 -0) 📝 `frontend/app_flowy/packages/flowy_editor/lib/service/flowy_key_event_handlers/delete_single_text_node_handler.dart` (+3 -7) ➕ `frontend/app_flowy/packages/flowy_editor/lib/service/flowy_key_event_handlers/shortcut_handler.dart` (+30 -0) 📝 `frontend/app_flowy/packages/flowy_editor/lib/service/keyboard_service.dart` (+1 -1) 📝 `frontend/app_flowy/packages/flowy_editor/lib/service/selection_service.dart` (+13 -3) ➕ `frontend/app_flowy/packages/flowy_editor/lib/service/service.dart` (+27 -0) </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:09 +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#4289
No description provided.