- From: Philip Jägenstedt <notifications@github.com>
- Date: Tue, 28 Jul 2015 05:55:11 -0700
- To: w3c/clipboard-apis <clipboard-apis@noreply.github.com>
Received on Tuesday, 28 July 2015 12:55:43 UTC
To really handle both you would have to monkey patch `dispatchEvent()`, as written there is no way for a scripts to reach this algorithm, although it's not entirely clear what would invoke the "copy action". To make `document.execCommand('copy')` work properly my hunch is that https://dvcs.w3.org/hg/editing/raw-file/tip/editing.html would have to be fixed I think. Now it just says "This specification does not define exactly how the selection is to be copied to the clipboard, but the Clipboard API and events specification might be useful." --- Reply to this email directly or view it on GitHub: https://github.com/w3c/clipboard-apis/issues/16#issuecomment-125594133
Received on Tuesday, 28 July 2015 12:55:43 UTC