Emscripten: Clipboard API?

Created on 25 Mar 2018  路  6Comments  路  Source: emscripten-core/emscripten

I wonder if it would be possible to add the new HTML Clipboard API to the html5 header? This functionality would be very useful to users of emscripten.

https://w3c.github.io/clipboard-apis/

good first bug help wanted wontfix

Most helpful comment

According to caniuse (https://www.caniuse.com/#feat=clipboard) support is at 86% of all browsers. However, there seem to be a lot of caveats across difference user agents.

All 6 comments

Sounds good. Is browser support wide enough, though?

To add this, we should add to the HTML C API (under system/include/emscripten/html5.h).

According to caniuse (https://www.caniuse.com/#feat=clipboard) support is at 86% of all browsers. However, there seem to be a lot of caveats across difference user agents.

Caveats sound worrying, but hopefully basic stuff will work (like github copying the clone command/url seems to work in all browsers I've tried).

I'll work on this 馃槃

Great, thanks @miguelsaldivar !

This issue has been automatically marked as stale because there has been no activity in the past year. It will be closed automatically if no further activity occurs in the next 7 days. Feel free to re-open at any time if this issue is still relevant.

Was this page helpful?
0 / 5 - 0 ratings