There exists these two HTML5 apis:

Clipboard API and Events: http://dev.w3.org/2006/webapi/clipops/clipops.html
and HTML5 Drag and Drop:
http://www.whatwg.org/specs/web-apps/current-work/multipage/dnd.html

The first one looks relevant? I haven't tried it though, but
caniuse.comsuggests it's widely available:
http://caniuse.com/#feat=clipboard


2014-02-05 Mark Hahn <[email protected]>:

> I'm porting an app to emscripten that is something like a word processor.
>  The desktop version of the app supports cutting and pasting from the
> desktop clipboard that somehow involves GDI.
>
> From what I have read browsers don't support cut/paste without annoying
> pop-ups.  This is unacceptable.  However, I checked google docs and they
> support it just fine.  I will have to study their technique.
>
> To make a long story short, can anyone suggest the best way to handle
> this?  Has anyone run into this problem before?
>
>  --
> You received this message because you are subscribed to the Google Groups
> "emscripten-discuss" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> For more options, visit https://groups.google.com/groups/opt_out.
>

-- 
You received this message because you are subscribed to the Google Groups 
"emscripten-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to