ueberdosis / tiptap

The headless rich text editor framework for web artisans.
https://tiptap.dev
MIT License
26.7k stars 2.23k forks source link

[Bug]: Can't paste Images with Text together in TipTap editor #4905

Open LukeFBM opened 7 months ago

LukeFBM commented 7 months ago

Which packages did you experience the bug in?

React

What Tiptap version are you using?

latest

What’s the bug you are facing?

I used FileHandler to make it possible to past Files on the editor. I need to paste Text and Files/images together though, for example from a word file, and this is not possible unless we have the URL of the file.

What browser are you using?

Chrome

Code example

No response

What did you expect to happen?

I thought it would be possibile to copy and paste multiple elements and files, but if you add text with the file you copied, for example a picture, the file is not there when you paste, only the text remains.

Anything to add? (optional)

No response

Did you update your dependencies?

Are you sponsoring us?

alysee0079 commented 6 months ago

same problem

Jaejin-Song commented 4 months ago

I got same problem.

When I copy some text and picture and paste at once, clipboardData doesn't include file.

Nantris commented 3 months ago

I don't feel this issue is fully documented. I don't understand what the bug is.