Open fsih opened 4 years ago
Well, sad news, Firefox does not support reading the clipboard as DataTransfer
...
https://caniuse.com/#feat=mdn-api_clipboard_read
Also, since it's not text, execCommand
won't do the thing.
I think this can still be implemented. You can gracefully degrade when the browser (IE/firefox) does not support it.
Something that would make the paint editor a lot more seamless to use is if you could paste images straight from the copy buffer.
Currently, you have to open a 3rd party app like MS Paint, paste the copied image into it, save it as a file, and upload the file to the Scratch paint editor before you can edit it in Scratch.