问题描述
我看到之前已经讨论过几次,但那是 2010 年及之前.现在我正在我的 gmail 客户端写一封新电子邮件,并注意到我可以将图像粘贴到邮件正文/网络表单中.
I see that this has been discussed a few times before, but that was 2010 and before. Now i was writing a new email in my gmail client and noted that i could just paste an image into the mail body / webform.
我很高兴看到这个,因为我一直在寻找类似的解决方案.
I was quite happy to see this as i have been looking for a similar solution for a while.
谁能提供一些有关其工作原理的详细信息?是闪存吗?或者一些JavaScript?
Can anyone provide some details on how this works? Is it Flash? Or some JavaScript?
推荐答案
是 html5 + javascript, and or flash (取决于浏览器)此链接应该让您有所了解:http://strd6.com/2011/09/html5-javascript-pasting-image-data-in-chrome/
It is html5 + javascript, and or flash (depends on the browser)This link should get you strated: http://strd6.com/2011/09/html5-javascript-pasting-image-data-in-chrome/
虽然有一点警告,但目前仅适用于 chrome.
A little warning though, this only works in chrome as of now.
这篇关于将剪贴板中的图像粘贴到 Web 表单的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!