Darginec05 / Yoopta-Editor

Build Notion-like, Craft-like, Coda-like, Medium-like editors with Yoopta
https://yoopta.dev/
MIT License
1.44k stars 111 forks source link

[FEATURE] Paste image from clipboard #320

Open mdsaban opened 1 month ago

mdsaban commented 1 month ago

Is this a unique feature?

Is your feature request related to a problem/unavailable functionality? Please describe.

Hey, I reviewed the documentation, and it appears there's currently no option to add images by directly pasting them into the editor, unlike what's available in Notion.

Proposed Solution

I plan to work on this and add a method in Image.extend to enable the functionality of pasting images directly from the clipboard.

Screenshots

No response

Do you want to work on this issue?

Yes

If "yes" to the above, please explain how you would technically implement this (issue will not be assigned if this is skipped)

I plan to work on this and add a method in Image.extend to enable the functionality of pasting images directly from the clipboard.

Darginec05 commented 1 month ago

Hey @mdsaban. Do you mean pasting by adding an image to the editor?

mdsaban commented 1 month ago

@Darginec05 Adding a screen recording for reference. This demonstrates how users can paste images from their clipboard directly into the editor.

https://github.com/user-attachments/assets/7e8ec922-29f8-4207-a1b5-157baa104a88

yashchaurasia667 commented 1 month ago

maybe i can work on that can you assign it to me?