I can successfully read Clipboard images in Chrome using the following code:
data = event.originalEvent.clipboardData;
for (var i = 0; i<data.items.length; i++){
var item = data.items[i];
if (item.type === 'image/png'){
itemFound = true;
break;
}
}
This approach does not work in IE however. Microsoft posted a blog about pasting in IE (http://blogs.msdn.com/b/ie/archive/2013/10/24/enhanced-rich-editing-experiences-in-ie11.aspx). The blog states that I should be able to use the following line of the code
var fileList = clipboardData.files;
fileList always comes back as empty however.
Does anyone know a way of accessing clipboard images in IE? I am able to read text fine, just not images.