mtlynch/whatgotdone

Support drag 'n drop for inserting images/video into entries

mtlynch opened this issue · 1 comments

PR #497 added support for pasting images into the entry editor, but we still need a way to support uploading images/video via drag 'n drop on to the entry editor.

I think the backend already has everything in place, and it's just a matter of figuring out the right JavaScript/Vue APIs to handle the drag 'n drop events.

Reference: https://www.raymondcamden.com/2019/08/08/drag-and-drop-file-upload-in-vuejs