Re: [w3c/editing] [beforeinput] PreventDefault() on InputType=cut differs from Clipboard API (#144)

> Gary and I are taking over Clipboard Spec. 

Great!

> Also, could you please clarify your request?

Something like: Create a method whereby one can add arbitrary, valid HTML content to the clipboard within user-initiated JS functions.

This should have the same level of security there currently is, where execCommand('copy') can only be triggered in user-initiated functions, but it should mean that one can repalce this procedure:

1. Add arbitrary content to DOM.
2. Select arbitrary content.
3. call execCommand('copy').
4. Remove arbitrary content from DOM.

With:

1. Add arbitrary content to clipboard.

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/w3c/editing/issues/144#issuecomment-240586061

Received on Thursday, 18 August 2016 00:02:06 UTC