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

Looking at the Clipboard API, this specific usage of preventDefault seems to be true for both copy and cut. So the way to stop things from appearing on the clipboard would be to intercept CTRL+C and CTRL+V? If we require that, we are back to before we had the beforeinput event. 

Maybe we should take this in two parts -- first do here what you proposed with beforeinput, and then afterward take a look at the clipboard API and adjust it as well.

As for ```paste```: it seems that the datatransfer data arriving at this stage cannot be changed any longer. So then ```paste``` and  ```beforeinput insertFromPaste``` will be the same, right?

-- 
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-240568007

Received on Wednesday, 17 August 2016 22:24:59 UTC