Hello.
Thank you for your help. However the new spec you linked me to does not 
contain anything I didn't know regarding my problem:
I'd quote the explanation of .setData
(https://html.spec.whatwg.org/#dom-datatransfer-setdata)

    and whose data is the string given by the method's second argument.

As soon as I want to insert binary data (as image/png) I don't know what 
kind of string should be passed. Base64? Binary string (bytes in string)? 
DataURI? The same question troubled me even before (I already found same 
information on MDN)
(https://developer.mozilla.org/en-US/docs/Web/API/DataTransfer#setData.28.29)
.

Further more, there's no information about copy/cut event handlers. Since 
everything I tried failed, I need to have a strong evidence that I'm doing 
everything right before I post on individual browser's forums asking for 
implementation status and any kind of help.

If my requirement is still unclear please try to read this question on 
StackOverflow: http://stackoverflow.com/q/27206268/607407
(http://stackoverflow.com/q/27206268/607407). It basically describes the 
problem.

Thank you very much for your time and help,
Jakub Mareda


---------- Původní zpráva ----------
Od: Tab Atkins Jr. <[email protected]>
Komu: Jakub Mareda <[email protected]>
Datum: 1. 12. 2014 22:41:19
Předmět: Re: Broken links

"On Sun, Nov 30, 2014 at 4:28 AM, Jakub Mareda <[email protected]> wrote:
> Hello,
> I'm investigating how to actually allow user to copy image data from web
> application. I have encountered broken links in the specification:
>
> http://dev.w3.org/2006/webapi/clipops/clipops.html#h2_apis-from-other-
specifications
>
> Click setData and you'll be radirected on page that doesn't seem to be
> relevant. I'd be actually quite happy if I could see how does setData work
> for binary data.

I'm sorry you accidentally landed on that spec; it's an old and
desperately obsolete document that is, unfortunately, not marked as
such.

You should be reading the latest version of that document, at
<https://html.spec.whatwg.org/#dnd>.

~TJ"

Reply via email to