tipex icon indicating copy to clipboard operation
tipex copied to clipboard

Image upload not working

Open geoffkendall opened this issue 9 months ago • 4 comments

I'm unable to get image dragging and dropping (or copy and pasting) working. When I am dragging an image over my Tipex editor, I see the line indicating where it is going to be dropped, but when I drop the image the browser jumps to showing that image, rather than embedding it into the editor. I found an article that shows how to control what happens when a drop event occurs: https://www.codemzy.com/blog/tiptap-drag-drop-image

But this relies on being able to set TipTap's editorProps when the editor is created, and I can't access that via Tipex. Would it be possible to expose that (like you do with extensions) so I can create my own drag/drop handler?

Thank you! Geoff

geoffkendall avatar May 22 '24 11:05 geoffkendall