Yoopta-Editor
Yoopta-Editor copied to clipboard
Allow pasting image from clipboard
Description
The editor currently only supports copying and pasting images from the internet. It cannot paste images from the local clipboard, like screenshots. This PR adds support for pasting images directly from the clipboard.
https://github.com/user-attachments/assets/c18f1470-44a4-4125-82ee-3c043d531d09
Related issue #320
Type of change
Please tick the relevant option.
- [ ] Bug fix (non-breaking change which fixes an issue)
- [x] New feature (non-breaking change which adds functionality)
- [ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)
- [ ] This change requires a documentation update
@mdsaban is attempting to deploy a commit to the dargo's projects Team on Vercel.
A member of the Team first needs to authorize it.
@Darginec05 I've created this PR as a draft. I have a few questions I need your help with:
- What's the best way to create a block for the pasted image? Currently, I’ve implemented it in a basic manner for the POC.
- How can we extend this to allow users to upload the pasted image to their servers if needed?
- Should we handle the uploading functionality in a separate PR to keep this one focused, or include it here?