[PR #626] [MERGED] Feat: text delta to text span #4248

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

📋 Pull Request Information

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

Base: feat/flowy_editorHead: feat/text-delta-to-text-span


📝 Commits (2)

  • 4b7c997 feat: text delta to text span
  • e92677d Merge branch 'feat/flowy_editor' into feat/text-delta-to-text-span

📊 Changes

5 files changed (+154 additions, -51 deletions)

View changed files

📝 frontend/app_flowy/packages/flowy_editor/example/assets/document.json (+17 -10)
📝 frontend/app_flowy/packages/flowy_editor/example/lib/plugin/text_node_widget.dart (+55 -6)
📝 frontend/app_flowy/packages/flowy_editor/lib/document/node.dart (+29 -5)
📝 frontend/app_flowy/packages/flowy_editor/lib/document/text_delta.dart (+53 -17)
frontend/app_flowy/packages/flowy_editor/lib/document/text_node.dart (+0 -13)

📄 Description

This PR is implementing the conversation from TextDelta to an array of TextSpan.
The TextWidget will render the spans from TextDelta.


🔄 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/626 **Author:** [@vincentdchan](https://github.com/vincentdchan) **Created:** 7/18/2022 **Status:** ✅ Merged **Merged:** 7/18/2022 **Merged by:** [@LucasXu0](https://github.com/LucasXu0) **Base:** `feat/flowy_editor` ← **Head:** `feat/text-delta-to-text-span` --- ### 📝 Commits (2) - [`4b7c997`](https://github.com/AppFlowy-IO/AppFlowy/commit/4b7c997083912c519fe6e4b941df6f11f720164b) feat: text delta to text span - [`e92677d`](https://github.com/AppFlowy-IO/AppFlowy/commit/e92677d2ce78c5eb06ac1460d1ab0619b42fe269) Merge branch 'feat/flowy_editor' into feat/text-delta-to-text-span ### 📊 Changes **5 files changed** (+154 additions, -51 deletions) <details> <summary>View changed files</summary> 📝 `frontend/app_flowy/packages/flowy_editor/example/assets/document.json` (+17 -10) 📝 `frontend/app_flowy/packages/flowy_editor/example/lib/plugin/text_node_widget.dart` (+55 -6) 📝 `frontend/app_flowy/packages/flowy_editor/lib/document/node.dart` (+29 -5) 📝 `frontend/app_flowy/packages/flowy_editor/lib/document/text_delta.dart` (+53 -17) ➖ `frontend/app_flowy/packages/flowy_editor/lib/document/text_node.dart` (+0 -13) </details> ### 📄 Description This PR is implementing the conversation from `TextDelta` to an array of `TextSpan`. The `TextWidget` will render the spans from `TextDelta`. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
mirror 2026-03-23 21:36:58 +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#4248
No description provided.