[PR #754] [MERGED] feat: implement bold text in toolbar service #4317

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

📋 Pull Request Information

Original PR: https://github.com/AppFlowy-IO/AppFlowy/pull/754
Author: @LucasXu0
Created: 8/2/2022
Status: Merged
Merged: 8/3/2022
Merged by: @appflowy

Base: feat/flowy_editorHead: feat/flowy_editor_input_service


📝 Commits (10+)

  • ba78f00 feat: implement bold text in toolbar service
  • b11a127 feat: implement italic, strikethrough and underline in toolbar service
  • 9b6afcc feat: implement heading, quote, bulleted_list in toolbar service
  • 1ba15b3 feat: implement revert text in toolbar service
  • 14bd18e feat: implement enter key event handler and keep attributes after insert
  • b913db2 Merge remote-tracking branch 'origin/feat/flowy_editor' into feat/flowy_editor_input_service
  • 56ac86f chore: add some comments in image plugins.
  • fa05170 chore: fix test error
  • 5fdcdbd fix: bulleted-list typo
  • a1be607 fix: pressing enter key in the edge of node doesn't work good.

📊 Changes

19 files changed (+349 additions, -143 deletions)

View changed files

📝 frontend/app_flowy/packages/flowy_editor/example/assets/example.json (+3 -3)
📝 frontend/app_flowy/packages/flowy_editor/example/lib/main.dart (+10 -7)
📝 frontend/app_flowy/packages/flowy_editor/example/lib/plugin/image_node_widget.dart (+17 -0)
📝 frontend/app_flowy/packages/flowy_editor/lib/document/attributes.dart (+1 -1)
📝 frontend/app_flowy/packages/flowy_editor/lib/document/node.dart (+19 -2)
📝 frontend/app_flowy/packages/flowy_editor/lib/editor_state.dart (+6 -1)
📝 frontend/app_flowy/packages/flowy_editor/lib/operation/transaction_builder.dart (+8 -8)
📝 frontend/app_flowy/packages/flowy_editor/lib/render/rich_text/checkbox_text.dart (+1 -1)
📝 frontend/app_flowy/packages/flowy_editor/lib/render/rich_text/flowy_rich_text.dart (+1 -1)
📝 frontend/app_flowy/packages/flowy_editor/lib/render/rich_text/rich_text_style.dart (+37 -28)
📝 frontend/app_flowy/packages/flowy_editor/lib/render/selection/toolbar_widget.dart (+42 -40)
📝 frontend/app_flowy/packages/flowy_editor/lib/service/default_text_operations/format_rich_text_style.dart (+128 -25)
📝 frontend/app_flowy/packages/flowy_editor/lib/service/editor_service.dart (+1 -1)
📝 frontend/app_flowy/packages/flowy_editor/lib/service/internal_key_event_handlers/enter_in_edge_of_text_node_handler.dart (+60 -12)
📝 frontend/app_flowy/packages/flowy_editor/lib/service/internal_key_event_handlers/update_text_style_by_command_x_handler.dart (+1 -5)
📝 frontend/app_flowy/packages/flowy_editor/lib/service/selection_service.dart (+5 -2)
📝 frontend/app_flowy/packages/flowy_editor/lib/service/service.dart (+6 -4)
📝 frontend/app_flowy/packages/flowy_editor/lib/service/toolbar_service.dart (+1 -1)
📝 frontend/app_flowy/packages/flowy_editor/test/operation_test.dart (+2 -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/754 **Author:** [@LucasXu0](https://github.com/LucasXu0) **Created:** 8/2/2022 **Status:** ✅ Merged **Merged:** 8/3/2022 **Merged by:** [@appflowy](https://github.com/appflowy) **Base:** `feat/flowy_editor` ← **Head:** `feat/flowy_editor_input_service` --- ### 📝 Commits (10+) - [`ba78f00`](https://github.com/AppFlowy-IO/AppFlowy/commit/ba78f0073dd4e6e6d8991a52b4425bc67e525d32) feat: implement bold text in toolbar service - [`b11a127`](https://github.com/AppFlowy-IO/AppFlowy/commit/b11a127432cb67a3708c2d194557efd4d557d8e5) feat: implement italic, strikethrough and underline in toolbar service - [`9b6afcc`](https://github.com/AppFlowy-IO/AppFlowy/commit/9b6afcc5c91770b4fd7e790adbc42882fbdd8d28) feat: implement heading, quote, bulleted_list in toolbar service - [`1ba15b3`](https://github.com/AppFlowy-IO/AppFlowy/commit/1ba15b321b0cf1454ab8e8771e04d9b9c37c0b7b) feat: implement revert text in toolbar service - [`14bd18e`](https://github.com/AppFlowy-IO/AppFlowy/commit/14bd18e21c5d9fbd78bdb96c97c1db16d5e4d793) feat: implement enter key event handler and keep attributes after insert - [`b913db2`](https://github.com/AppFlowy-IO/AppFlowy/commit/b913db2301c19754cacceb9d6dfe497182e0a624) Merge remote-tracking branch 'origin/feat/flowy_editor' into feat/flowy_editor_input_service - [`56ac86f`](https://github.com/AppFlowy-IO/AppFlowy/commit/56ac86fb5192bca49438be3df580a03e28d726ae) chore: add some comments in image plugins. - [`fa05170`](https://github.com/AppFlowy-IO/AppFlowy/commit/fa05170c86029e28f74398a122df31314d44375a) chore: fix test error - [`5fdcdbd`](https://github.com/AppFlowy-IO/AppFlowy/commit/5fdcdbd357bc61cc06355e629d1fe36306668554) fix: bulleted-list typo - [`a1be607`](https://github.com/AppFlowy-IO/AppFlowy/commit/a1be60721e9ad5655c0420ce4822a1c39f6a7e48) fix: pressing enter key in the edge of node doesn't work good. ### 📊 Changes **19 files changed** (+349 additions, -143 deletions) <details> <summary>View changed files</summary> 📝 `frontend/app_flowy/packages/flowy_editor/example/assets/example.json` (+3 -3) 📝 `frontend/app_flowy/packages/flowy_editor/example/lib/main.dart` (+10 -7) 📝 `frontend/app_flowy/packages/flowy_editor/example/lib/plugin/image_node_widget.dart` (+17 -0) 📝 `frontend/app_flowy/packages/flowy_editor/lib/document/attributes.dart` (+1 -1) 📝 `frontend/app_flowy/packages/flowy_editor/lib/document/node.dart` (+19 -2) 📝 `frontend/app_flowy/packages/flowy_editor/lib/editor_state.dart` (+6 -1) 📝 `frontend/app_flowy/packages/flowy_editor/lib/operation/transaction_builder.dart` (+8 -8) 📝 `frontend/app_flowy/packages/flowy_editor/lib/render/rich_text/checkbox_text.dart` (+1 -1) 📝 `frontend/app_flowy/packages/flowy_editor/lib/render/rich_text/flowy_rich_text.dart` (+1 -1) 📝 `frontend/app_flowy/packages/flowy_editor/lib/render/rich_text/rich_text_style.dart` (+37 -28) 📝 `frontend/app_flowy/packages/flowy_editor/lib/render/selection/toolbar_widget.dart` (+42 -40) 📝 `frontend/app_flowy/packages/flowy_editor/lib/service/default_text_operations/format_rich_text_style.dart` (+128 -25) 📝 `frontend/app_flowy/packages/flowy_editor/lib/service/editor_service.dart` (+1 -1) 📝 `frontend/app_flowy/packages/flowy_editor/lib/service/internal_key_event_handlers/enter_in_edge_of_text_node_handler.dart` (+60 -12) 📝 `frontend/app_flowy/packages/flowy_editor/lib/service/internal_key_event_handlers/update_text_style_by_command_x_handler.dart` (+1 -5) 📝 `frontend/app_flowy/packages/flowy_editor/lib/service/selection_service.dart` (+5 -2) 📝 `frontend/app_flowy/packages/flowy_editor/lib/service/service.dart` (+6 -4) 📝 `frontend/app_flowy/packages/flowy_editor/lib/service/toolbar_service.dart` (+1 -1) 📝 `frontend/app_flowy/packages/flowy_editor/test/operation_test.dart` (+2 -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:17 +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#4317
No description provided.