[PR #780] [MERGED] customize flowy_rich_text style #4336

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

📋 Pull Request Information

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

Base: mainHead: feat/fix_focus_error


📝 Commits (9)

  • 4b4ce10 feat: optimize selection implement by binary search
  • 7e6c7a2 feat: refactor current selection and current selectedNodes in selection_service
  • fb267ac feat: optimize the calculation of cursor position and selection position
  • 2b113aa chore: format code
  • 274b3d1 fix: focusNode lost focus
  • f6fbe55 feat: flowy_rich_text supports placeholder and customizes placeholder style
  • 59838f5 feat: customizes checkbox text style
  • 25387cd feat: customizes quoted text style
  • 9b9de52 fix: flowy_rich_text will not automatically wrap when the text exceeds a line

📊 Changes

21 files changed (+42351 additions, -276 deletions)

View changed files

frontend/app_flowy/packages/flowy_editor/example/assets/big_document.json (+41960 -0)
📝 frontend/app_flowy/packages/flowy_editor/example/assets/example.json (+0 -6)
📝 frontend/app_flowy/packages/flowy_editor/example/lib/main.dart (+99 -99)
📝 frontend/app_flowy/packages/flowy_editor/example/pubspec.yaml (+1 -0)
📝 frontend/app_flowy/packages/flowy_editor/lib/extensions/node_extensions.dart (+8 -0)
📝 frontend/app_flowy/packages/flowy_editor/lib/infra/flowy_svg.dart (+8 -6)
📝 frontend/app_flowy/packages/flowy_editor/lib/render/rich_text/bulleted_list_text.dart (+7 -4)
📝 frontend/app_flowy/packages/flowy_editor/lib/render/rich_text/checkbox_text.dart (+29 -5)
📝 frontend/app_flowy/packages/flowy_editor/lib/render/rich_text/flowy_rich_text.dart (+38 -5)
📝 frontend/app_flowy/packages/flowy_editor/lib/render/rich_text/heading_text.dart (+26 -5)
📝 frontend/app_flowy/packages/flowy_editor/lib/render/rich_text/number_list_text.dart (+7 -4)
📝 frontend/app_flowy/packages/flowy_editor/lib/render/rich_text/quoted_text.dart (+17 -5)
📝 frontend/app_flowy/packages/flowy_editor/lib/render/selection/toolbar_widget.dart (+2 -2)
📝 frontend/app_flowy/packages/flowy_editor/lib/service/default_text_operations/format_rich_text_style.dart (+5 -5)
📝 frontend/app_flowy/packages/flowy_editor/lib/service/input_service.dart (+12 -14)
📝 frontend/app_flowy/packages/flowy_editor/lib/service/internal_key_event_handlers/delete_text_handler.dart (+2 -2)
📝 frontend/app_flowy/packages/flowy_editor/lib/service/internal_key_event_handlers/enter_in_edge_of_text_node_handler.dart (+2 -2)
📝 frontend/app_flowy/packages/flowy_editor/lib/service/internal_key_event_handlers/slash_handler.dart (+12 -6)
📝 frontend/app_flowy/packages/flowy_editor/lib/service/internal_key_event_handlers/update_text_style_by_command_x_handler.dart (+2 -2)
📝 frontend/app_flowy/packages/flowy_editor/lib/service/keyboard_service.dart (+10 -6)

...and 1 more files

📄 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/780 **Author:** [@LucasXu0](https://github.com/LucasXu0) **Created:** 8/7/2022 **Status:** ✅ Merged **Merged:** 8/8/2022 **Merged by:** [@LucasXu0](https://github.com/LucasXu0) **Base:** `main` ← **Head:** `feat/fix_focus_error` --- ### 📝 Commits (9) - [`4b4ce10`](https://github.com/AppFlowy-IO/AppFlowy/commit/4b4ce1020d3f12831501e48a28255f8c37f6730f) feat: optimize selection implement by binary search - [`7e6c7a2`](https://github.com/AppFlowy-IO/AppFlowy/commit/7e6c7a2b4e024152b4178ea79359ac51ca7a8a32) feat: refactor current selection and current selectedNodes in selection_service - [`fb267ac`](https://github.com/AppFlowy-IO/AppFlowy/commit/fb267ace1819b9c9cc86a104effeb8204d496c97) feat: optimize the calculation of cursor position and selection position - [`2b113aa`](https://github.com/AppFlowy-IO/AppFlowy/commit/2b113aae7f6ae86ee2780b22f7ad8eaf37623c1a) chore: format code - [`274b3d1`](https://github.com/AppFlowy-IO/AppFlowy/commit/274b3d1d252caf940e64fdc6a7fc348936ce1074) fix: focusNode lost focus - [`f6fbe55`](https://github.com/AppFlowy-IO/AppFlowy/commit/f6fbe5547720c420c2020175dec20ad8861c13fd) feat: flowy_rich_text supports placeholder and customizes placeholder style - [`59838f5`](https://github.com/AppFlowy-IO/AppFlowy/commit/59838f584552b53cdf5afb7f1eb155892a83e3ee) feat: customizes checkbox text style - [`25387cd`](https://github.com/AppFlowy-IO/AppFlowy/commit/25387cd0b05e88f777020ad436a8168378b4b4a2) feat: customizes quoted text style - [`9b9de52`](https://github.com/AppFlowy-IO/AppFlowy/commit/9b9de523da6082a0fd5d528e433c6c9ea3612d02) fix: flowy_rich_text will not automatically wrap when the text exceeds a line ### 📊 Changes **21 files changed** (+42351 additions, -276 deletions) <details> <summary>View changed files</summary> ➕ `frontend/app_flowy/packages/flowy_editor/example/assets/big_document.json` (+41960 -0) 📝 `frontend/app_flowy/packages/flowy_editor/example/assets/example.json` (+0 -6) 📝 `frontend/app_flowy/packages/flowy_editor/example/lib/main.dart` (+99 -99) 📝 `frontend/app_flowy/packages/flowy_editor/example/pubspec.yaml` (+1 -0) 📝 `frontend/app_flowy/packages/flowy_editor/lib/extensions/node_extensions.dart` (+8 -0) 📝 `frontend/app_flowy/packages/flowy_editor/lib/infra/flowy_svg.dart` (+8 -6) 📝 `frontend/app_flowy/packages/flowy_editor/lib/render/rich_text/bulleted_list_text.dart` (+7 -4) 📝 `frontend/app_flowy/packages/flowy_editor/lib/render/rich_text/checkbox_text.dart` (+29 -5) 📝 `frontend/app_flowy/packages/flowy_editor/lib/render/rich_text/flowy_rich_text.dart` (+38 -5) 📝 `frontend/app_flowy/packages/flowy_editor/lib/render/rich_text/heading_text.dart` (+26 -5) 📝 `frontend/app_flowy/packages/flowy_editor/lib/render/rich_text/number_list_text.dart` (+7 -4) 📝 `frontend/app_flowy/packages/flowy_editor/lib/render/rich_text/quoted_text.dart` (+17 -5) 📝 `frontend/app_flowy/packages/flowy_editor/lib/render/selection/toolbar_widget.dart` (+2 -2) 📝 `frontend/app_flowy/packages/flowy_editor/lib/service/default_text_operations/format_rich_text_style.dart` (+5 -5) 📝 `frontend/app_flowy/packages/flowy_editor/lib/service/input_service.dart` (+12 -14) 📝 `frontend/app_flowy/packages/flowy_editor/lib/service/internal_key_event_handlers/delete_text_handler.dart` (+2 -2) 📝 `frontend/app_flowy/packages/flowy_editor/lib/service/internal_key_event_handlers/enter_in_edge_of_text_node_handler.dart` (+2 -2) 📝 `frontend/app_flowy/packages/flowy_editor/lib/service/internal_key_event_handlers/slash_handler.dart` (+12 -6) 📝 `frontend/app_flowy/packages/flowy_editor/lib/service/internal_key_event_handlers/update_text_style_by_command_x_handler.dart` (+2 -2) 📝 `frontend/app_flowy/packages/flowy_editor/lib/service/keyboard_service.dart` (+10 -6) _...and 1 more files_ </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:21 +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#4336
No description provided.