tldraw / tldraw

SDK for creating whiteboards and canvas experiences on the web.

Home Page:https://tldraw.dev

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

[Example Request]: Drag-and-Drop Image Upload in CustomUI Editor

mochizuki-pg opened this issue · comments

What's the example?

In customUI, is it possible to drag and drop an image in the server as an image tag and upload it to the editor?

I want to do the same thing with images displayed as <img> (image tag) that I can drag and drop from the Finder on my Mac to create image shapes in the editor

Code of Conduct

  • I agree to follow this project's Code of Conduct

Our custom UI example already supports drag-and-drop from finder.

Kapture 2024-05-17 at 16 09 10

I'm not sure what you mean by 'in the server' or 'image tags' though. Can you give a more detailed description of what you're trying to achieve?