Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support paste and drop images to draft editor #4700

Merged
merged 22 commits into from
Aug 5, 2024
Merged

Conversation

robertu7
Copy link
Contributor

@robertu7 robertu7 commented Jul 31, 2024

  • support paste and drop images to draft/article editor;
  • make singleFileUpload as fallback for image uploading;
  • revise addRequest and make it resolve with API response;
  • move useCreateDraft to DraftDetailStateProvider;
  • fix captionLimit plugin that throws error if content is empty;

resolve: thematters/matters-editor#502

@robertu7 robertu7 requested a review from a team as a code owner July 31, 2024 15:51
Copy link

vercel bot commented Jul 31, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
matters-web ✅ Ready (Inspect) Visit Preview 💬 Add feedback Aug 4, 2024 9:03am

@robertu7 robertu7 changed the title WIP: feat(editor): add pasteDropFile extension feat(editor): add pasteDropFile extension Aug 1, 2024
@robertu7 robertu7 requested review from gary02, byhow and wlliaml August 1, 2024 09:59
@robertu7 robertu7 changed the title feat(editor): add pasteDropFile extension Support paste and drop images to draft editor Aug 1, 2024
@robertu7 robertu7 merged commit 8e55d6e into develop Aug 5, 2024
5 of 6 checks passed
@delete-merged-branch delete-merged-branch bot deleted the feat/file-handler branch August 5, 2024 06:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Editor: impl copy-and-paste image
2 participants