mirror of https://github.com/writeas/writefreely
We now detect whether a file is being dropped by a user (by checking `event.dataTransfer.files.length`) and prevent the remaining drop behavior if this is the case. Otherwise, drop happens like normal (so a user can still drop text into the editor, or even an image that has been uploaded already via normal means and rendered in the editor).pull/537/head
parent
46bb8e65a1
commit
dd88083b2a
Loading…
Reference in new issue