[PR #801] [MERGED] Feat/text style #4352

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

📋 Pull Request Information

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

Base: mainHead: feat/text_style


📝 Commits (9)

  • e9d8dc9 feat: increase line spacing
  • b7cb4b6 fix: the editor loses focus occasionally
  • 8fa55cf feat: text insert and replace with selection styles
  • 4223324 fix: cursor height error
  • 1391d20 fix: could not remove text style when pressing enter in empty text node
  • 0650c40 fix: checkbox error
  • 3e256be fix: checkbox placeholder error
  • 215587a chore: format code
  • 6a27c49 fix: selection error in edge

📊 Changes

13 files changed (+271 additions, -154 deletions)

View changed files

📝 frontend/app_flowy/packages/flowy_editor/lib/infra/flowy_svg.dart (+9 -0)
📝 frontend/app_flowy/packages/flowy_editor/lib/operation/transaction_builder.dart (+26 -3)
📝 frontend/app_flowy/packages/flowy_editor/lib/render/rich_text/bulleted_list_text.dart (+29 -22)
📝 frontend/app_flowy/packages/flowy_editor/lib/render/rich_text/checkbox_text.dart (+41 -36)
📝 frontend/app_flowy/packages/flowy_editor/lib/render/rich_text/default_selectable.dart (+11 -1)
📝 frontend/app_flowy/packages/flowy_editor/lib/render/rich_text/flowy_rich_text.dart (+4 -0)
📝 frontend/app_flowy/packages/flowy_editor/lib/render/rich_text/heading_text.dart (+12 -10)
📝 frontend/app_flowy/packages/flowy_editor/lib/render/rich_text/number_list_text.dart (+30 -25)
📝 frontend/app_flowy/packages/flowy_editor/lib/render/rich_text/quoted_text.dart (+30 -28)
📝 frontend/app_flowy/packages/flowy_editor/lib/render/rich_text/rich_text.dart (+11 -11)
📝 frontend/app_flowy/packages/flowy_editor/lib/render/rich_text/rich_text_style.dart (+27 -2)
📝 frontend/app_flowy/packages/flowy_editor/lib/service/internal_key_event_handlers/enter_without_shift_in_text_node_handler.dart (+33 -12)
📝 frontend/app_flowy/packages/flowy_editor/lib/service/selection_service.dart (+8 -4)

📄 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/801 **Author:** [@LucasXu0](https://github.com/LucasXu0) **Created:** 8/9/2022 **Status:** ✅ Merged **Merged:** 8/9/2022 **Merged by:** [@appflowy](https://github.com/appflowy) **Base:** `main` ← **Head:** `feat/text_style` --- ### 📝 Commits (9) - [`e9d8dc9`](https://github.com/AppFlowy-IO/AppFlowy/commit/e9d8dc9657b73d628550dbef1ce3c6a05bbde8df) feat: increase line spacing - [`b7cb4b6`](https://github.com/AppFlowy-IO/AppFlowy/commit/b7cb4b647ddbb48a8928b44b32d716c9b95a1a63) fix: the editor loses focus occasionally - [`8fa55cf`](https://github.com/AppFlowy-IO/AppFlowy/commit/8fa55cfa08f3fe3203476c6f7510c40a1769216d) feat: text insert and replace with selection styles - [`4223324`](https://github.com/AppFlowy-IO/AppFlowy/commit/4223324689d0e65604f9569dd166960690ce9a98) fix: cursor height error - [`1391d20`](https://github.com/AppFlowy-IO/AppFlowy/commit/1391d202a971216537a5b690f0223b3455d7ac76) fix: could not remove text style when pressing enter in empty text node - [`0650c40`](https://github.com/AppFlowy-IO/AppFlowy/commit/0650c40d9d86c288534b88ce0c8fc318ec66dc52) fix: checkbox error - [`3e256be`](https://github.com/AppFlowy-IO/AppFlowy/commit/3e256be0b9d5435bef51a577f8894ebfb15b424d) fix: checkbox placeholder error - [`215587a`](https://github.com/AppFlowy-IO/AppFlowy/commit/215587a50703ff0e7103f3eae041e076c1aa5e57) chore: format code - [`6a27c49`](https://github.com/AppFlowy-IO/AppFlowy/commit/6a27c490aad0edc90bf0dcfb785f49304a895aa0) fix: selection error in edge ### 📊 Changes **13 files changed** (+271 additions, -154 deletions) <details> <summary>View changed files</summary> 📝 `frontend/app_flowy/packages/flowy_editor/lib/infra/flowy_svg.dart` (+9 -0) 📝 `frontend/app_flowy/packages/flowy_editor/lib/operation/transaction_builder.dart` (+26 -3) 📝 `frontend/app_flowy/packages/flowy_editor/lib/render/rich_text/bulleted_list_text.dart` (+29 -22) 📝 `frontend/app_flowy/packages/flowy_editor/lib/render/rich_text/checkbox_text.dart` (+41 -36) 📝 `frontend/app_flowy/packages/flowy_editor/lib/render/rich_text/default_selectable.dart` (+11 -1) 📝 `frontend/app_flowy/packages/flowy_editor/lib/render/rich_text/flowy_rich_text.dart` (+4 -0) 📝 `frontend/app_flowy/packages/flowy_editor/lib/render/rich_text/heading_text.dart` (+12 -10) 📝 `frontend/app_flowy/packages/flowy_editor/lib/render/rich_text/number_list_text.dart` (+30 -25) 📝 `frontend/app_flowy/packages/flowy_editor/lib/render/rich_text/quoted_text.dart` (+30 -28) 📝 `frontend/app_flowy/packages/flowy_editor/lib/render/rich_text/rich_text.dart` (+11 -11) 📝 `frontend/app_flowy/packages/flowy_editor/lib/render/rich_text/rich_text_style.dart` (+27 -2) 📝 `frontend/app_flowy/packages/flowy_editor/lib/service/internal_key_event_handlers/enter_without_shift_in_text_node_handler.dart` (+33 -12) 📝 `frontend/app_flowy/packages/flowy_editor/lib/service/selection_service.dart` (+8 -4) </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:25 +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#4352
No description provided.