Drag and drop files in the editor.

Drag and drop files in the editor.

classic12classic12 Posts: 228Questions: 60Answers: 4

I’m on Mac

I can drag files from finder ok

I can’t drag from web site or email

I have to drag and drop to finder first then drag and drop back to the editor.

Cheers

Steve Warby

Answers

  • allanallan Posts: 63,602Questions: 1Answers: 10,486 Site admin

    That's something that sounds like an OS limitation to me unless you know otherwise? Editor's drag and drop upload feature simply makes use of the HMTL5 drag and drop API.

    Allan

  • classic12classic12 Posts: 228Questions: 60Answers: 4

    I booted into windows and it works in there.

    On Mac I get this error

    If I grag an image from mail I get

    Uncaught TypeError: Failed to execute 'readAsDataURL' on 'FileReader': parameter 1 is not of type 'Blob'..
    line 4143 column 9

    If I drag from a brwoser I see the green drop button, I drop but nothing happens.

  • allanallan Posts: 63,602Questions: 1Answers: 10,486 Site admin

    Is that the case for only Safari, or Chrome as well?

    Allan

  • classic12classic12 Posts: 228Questions: 60Answers: 4

    I played around again today.
    I can drag and drop from emails today ( strange).

    It's the same result if I drag from
    safari to safari
    safari to chrome
    Chrome to safari
    Chrome to chrome
    Also dragging image from whats app
    I get one of these error

    Uncaught TypeError: Failed to execute 'readAsDataURL' on 'FileReader': parameter 1 is not of type 'Blob'..
    line 4143 column 9

    OR

    I see the green drop button, I drop but nothing happens.

    My workaround is drag files to a temp directory then drag them to the editor.

    Cheers

    Steve Warby

  • allanallan Posts: 63,602Questions: 1Answers: 10,486 Site admin

    I'll try experimenting with it, but it sounds like a limitation in the OS. Thanks for letting me know about it.

    Allan

This discussion has been closed.