The FileField Sources "Paste from Clipboard" implements support for all the browsers that support event.clipboardData and Firefox (due to a convenient behavior it has when pasting images).
Currently browser support includes:
- Firefox 4.0 and higher
- Chrome 21 and higher
It does not include support for:
- Any versions of IE
- Any versions of Opera
- Any versions of Safari
So as you can see the browser support is quite limited. However, the JavaScript is written by the standard of W3C Clipboard support, so more browsers are likely to support this option in the future. Assuming they implement the standard in the same way, browser support should become automatic as browsers improve.
Comments
Comment #1
Marko B CreditAttribution: Marko B commentedGlad it is FF and Chrome as most dev use this 2 anyway :)
Comment #2
DiogenesTheCynic CreditAttribution: DiogenesTheCynic commentedIs this updated for mid-2013? Newer IEs (esp. IE10) are supposed to have partial or full support for event.clipboardData IIRC.
Comment #2.0
DiogenesTheCynic CreditAttribution: DiogenesTheCynic commentedElaborating on future support.
Comment #3
kpaxman CreditAttribution: kpaxman at University of Waterloo commentedSince the help link in the D8/9 version links to this issue, and the last comment here is 9 years old, I thought it should be noted that this does seem to work in Safari now (only checked the D8/9 version of the module, but I assume it's the same for D7).
Probably this should link to the "caniuse" for the clipboard API, probably one of these though I haven't looked :) https://caniuse.com/?search=clipboard