[PR #750] [MERGED] Feat: paste rich text in flowy editor #4313

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

📋 Pull Request Information

Original PR: https://github.com/AppFlowy-IO/AppFlowy/pull/750
Author: @vincentdchan
Created: 8/1/2022
Status: Merged
Merged: 8/3/2022
Merged by: @appflowy

Base: mainHead: feat/copy-paste


📝 Commits (9)

  • ee25f03 feat: copy & paste key event handlers
  • 9ceced4 feat: parse html
  • 40c3f07 feat: use patch nodes
  • d283211 feat: paste multi lines text
  • 67fd063 feat: handle HTMLElement
  • 4e3e9d1 feat: paste hyper link
  • aba84a3 feat: paste inside the TextNode
  • e734651 feat: paste html rich text inside text
  • 290435b feat: paste text inside text

📊 Changes

12 files changed (+445 additions, -11 deletions)

View changed files

📝 frontend/app_flowy/packages/flowy_editor/example/lib/plugin/image_node_widget.dart (+1 -2)
📝 frontend/app_flowy/packages/flowy_editor/example/linux/flutter/generated_plugin_registrant.cc (+4 -0)
📝 frontend/app_flowy/packages/flowy_editor/example/linux/flutter/generated_plugins.cmake (+1 -0)
📝 frontend/app_flowy/packages/flowy_editor/example/macos/Flutter/GeneratedPluginRegistrant.swift (+2 -0)
📝 frontend/app_flowy/packages/flowy_editor/example/macos/Podfile.lock (+6 -0)
📝 frontend/app_flowy/packages/flowy_editor/example/pubspec.lock (+85 -1)
📝 frontend/app_flowy/packages/flowy_editor/lib/document/node.dart (+4 -3)
frontend/app_flowy/packages/flowy_editor/lib/infra/html_converter.dart (+149 -0)
📝 frontend/app_flowy/packages/flowy_editor/lib/operation/transaction_builder.dart (+4 -0)
📝 frontend/app_flowy/packages/flowy_editor/lib/service/editor_service.dart (+7 -5)
frontend/app_flowy/packages/flowy_editor/lib/service/internal_key_event_handlers/copy_paste_handler.dart (+180 -0)
📝 frontend/app_flowy/packages/flowy_editor/pubspec.yaml (+2 -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/750 **Author:** [@vincentdchan](https://github.com/vincentdchan) **Created:** 8/1/2022 **Status:** ✅ Merged **Merged:** 8/3/2022 **Merged by:** [@appflowy](https://github.com/appflowy) **Base:** `main` ← **Head:** `feat/copy-paste` --- ### 📝 Commits (9) - [`ee25f03`](https://github.com/AppFlowy-IO/AppFlowy/commit/ee25f032db3d45dba1e841bdf449008c84cf3464) feat: copy & paste key event handlers - [`9ceced4`](https://github.com/AppFlowy-IO/AppFlowy/commit/9ceced464817b2df1a1df77c67cd52857001da68) feat: parse html - [`40c3f07`](https://github.com/AppFlowy-IO/AppFlowy/commit/40c3f07be431606136b603cfdff266d193f0b666) feat: use patch nodes - [`d283211`](https://github.com/AppFlowy-IO/AppFlowy/commit/d28321167184c0ce041fca5d21c9c563dec1ed75) feat: paste multi lines text - [`67fd063`](https://github.com/AppFlowy-IO/AppFlowy/commit/67fd06366e8830cfb59d7787761f49ae39cb69e5) feat: handle HTMLElement - [`4e3e9d1`](https://github.com/AppFlowy-IO/AppFlowy/commit/4e3e9d1a2c0a805e83647a86471377f943baa1bf) feat: paste hyper link - [`aba84a3`](https://github.com/AppFlowy-IO/AppFlowy/commit/aba84a3ccdbde3c047c5c0781ecde94161e0ecd6) feat: paste inside the TextNode - [`e734651`](https://github.com/AppFlowy-IO/AppFlowy/commit/e73465170ae0625faff5b9f4a6402776bbbf32de) feat: paste html rich text inside text - [`290435b`](https://github.com/AppFlowy-IO/AppFlowy/commit/290435b0eea0a8a6cb4acd76c50c39ab39197540) feat: paste text inside text ### 📊 Changes **12 files changed** (+445 additions, -11 deletions) <details> <summary>View changed files</summary> 📝 `frontend/app_flowy/packages/flowy_editor/example/lib/plugin/image_node_widget.dart` (+1 -2) 📝 `frontend/app_flowy/packages/flowy_editor/example/linux/flutter/generated_plugin_registrant.cc` (+4 -0) 📝 `frontend/app_flowy/packages/flowy_editor/example/linux/flutter/generated_plugins.cmake` (+1 -0) 📝 `frontend/app_flowy/packages/flowy_editor/example/macos/Flutter/GeneratedPluginRegistrant.swift` (+2 -0) 📝 `frontend/app_flowy/packages/flowy_editor/example/macos/Podfile.lock` (+6 -0) 📝 `frontend/app_flowy/packages/flowy_editor/example/pubspec.lock` (+85 -1) 📝 `frontend/app_flowy/packages/flowy_editor/lib/document/node.dart` (+4 -3) ➕ `frontend/app_flowy/packages/flowy_editor/lib/infra/html_converter.dart` (+149 -0) 📝 `frontend/app_flowy/packages/flowy_editor/lib/operation/transaction_builder.dart` (+4 -0) 📝 `frontend/app_flowy/packages/flowy_editor/lib/service/editor_service.dart` (+7 -5) ➕ `frontend/app_flowy/packages/flowy_editor/lib/service/internal_key_event_handlers/copy_paste_handler.dart` (+180 -0) 📝 `frontend/app_flowy/packages/flowy_editor/pubspec.yaml` (+2 -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:15 +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#4313
No description provided.