[PR #5813] [MERGED] feat: drop images into editor #7019

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

📋 Pull Request Information

Original PR: https://github.com/AppFlowy-IO/AppFlowy/pull/5813
Author: @Xazin
Created: 7/25/2024
Status: Merged
Merged: 7/25/2024
Merged by: @Xazin

Base: mainHead: feat/drop-images-in-editor


📝 Commits (2)

  • 652b5e7 feat: drop images into editor
  • 0176985 fix: update af editor version

📊 Changes

5 files changed (+125 additions, -21 deletions)

View changed files

📝 frontend/appflowy_flutter/lib/plugins/document/document_page.dart (+65 -8)
📝 frontend/appflowy_flutter/lib/plugins/document/presentation/editor_page.dart (+4 -0)
📝 frontend/appflowy_flutter/lib/plugins/document/presentation/editor_plugins/copy_and_paste/paste_from_image.dart (+40 -0)
📝 frontend/appflowy_flutter/pubspec.lock (+11 -11)
📝 frontend/appflowy_flutter/pubspec.yaml (+5 -2)

📄 Description

Feature Preview

  • Drag and drop one or more images to the editor
  • Ability to exclude some type of nodes from drop target, since we have custom drop logic implemented on all image nodes.

https://github.com/user-attachments/assets/45c75aa0-4a71-471f-8c1d-772bbb42ab68


PR Checklist

  • My code adheres to AppFlowy's Conventions
  • I've listed at least one issue that this PR fixes in the description above.
  • I've added a test(s) to validate changes in this PR, or this PR only contains semantic changes.
  • All existing tests are passing.

🔄 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/5813 **Author:** [@Xazin](https://github.com/Xazin) **Created:** 7/25/2024 **Status:** ✅ Merged **Merged:** 7/25/2024 **Merged by:** [@Xazin](https://github.com/Xazin) **Base:** `main` ← **Head:** `feat/drop-images-in-editor` --- ### 📝 Commits (2) - [`652b5e7`](https://github.com/AppFlowy-IO/AppFlowy/commit/652b5e7add015b3497ba0db12a8abb9593ae22d2) feat: drop images into editor - [`0176985`](https://github.com/AppFlowy-IO/AppFlowy/commit/017698564695f4d27f77b006c32e6d2faf73b33f) fix: update af editor version ### 📊 Changes **5 files changed** (+125 additions, -21 deletions) <details> <summary>View changed files</summary> 📝 `frontend/appflowy_flutter/lib/plugins/document/document_page.dart` (+65 -8) 📝 `frontend/appflowy_flutter/lib/plugins/document/presentation/editor_page.dart` (+4 -0) 📝 `frontend/appflowy_flutter/lib/plugins/document/presentation/editor_plugins/copy_and_paste/paste_from_image.dart` (+40 -0) 📝 `frontend/appflowy_flutter/pubspec.lock` (+11 -11) 📝 `frontend/appflowy_flutter/pubspec.yaml` (+5 -2) </details> ### 📄 Description ### Feature Preview - Drag and drop one or more images to the editor - Ability to exclude some type of nodes from drop target, since we have custom drop logic implemented on all image nodes. https://github.com/user-attachments/assets/45c75aa0-4a71-471f-8c1d-772bbb42ab68 --- <!--- Before you mark this PR ready for review, run through this checklist! --> #### PR Checklist - [x] My code adheres to [AppFlowy's Conventions](https://docs.appflowy.io/docs/documentation/software-contributions/conventions) - [ ] I've listed at least one issue that this PR fixes in the description above. - [ ] I've added a test(s) to validate changes in this PR, or this PR only contains semantic changes. - [x] All existing tests are passing. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
mirror 2026-03-23 23:17:43 +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#7019
No description provided.