Michael Yin

Results 45 comments of Michael Yin

You are right, when `isDefaultPrevented` is handled in paste.js, you will be able to do it like: ``` @$input.on('pasteImage', (ev, pastedData) => ... ).on('pasteText', (ev, pastedData) => if (pastedData.match(/codepen\.io/)) {...

Hi @jmuheim , there's no way to detect the support straight forward. But I can definitely put an API to indicate the support, after I can do some testing through...

I mentioned mobile browsers because on some browsers / versions although there is API support, but no interaction for "paste" (i.e, press Ctrl + V)

@jmuheim I've found myself hard to allocate time for this. Do you have a schedule for implementing related feature in Reviewable? (I'll try to implement the API before that) FYI:...

Haha, my bad, forget my question. Yeah, I'll push it recently!

@pkaminski I think this doesn't really helps with getting the image data. It seems to be handling the event for `[contenteditable]`. (from what I understand in the source diff). But...

This is promising. How ever 2 years ago I noticed that in OSX, when a filed being dragged into the browser, only the icon of the file was received, instead...

@CMTietgen True, that's a quirk, (not sure in the library or just in the demo), since you shouldn't be able to paste if you click `below` the div. I'll look...

@jmuheim I instanly thought they look like they come from different color profiles (sRGB, Apple RGB etc) from my experience. But it seems strange as if all 3 examples are...

That is so strange. I've ran imagemagick to check if I can find anything, using `identify -verbose ~/Downloads/file\ \(1\).png`. The output looks quite different then screenshot file produced on my...