Re: [editing] What do we need to integrate with the clipboard api? (#64)

> AFAICS we don't need to spec it at all, because the paste event will be fired on the document

Indeed. The paste event will fire on the document, script can handle data from the clipboard and insert as desired. The clipboard spec says about the paste action:

> If the event was not canceled
>    If there is a selection or cursor in an editable context where pasting is enabled

Note *where pasting is enabled* - this was added to let you say pasting is not enabled for a cE=events element, and thus the paste action will not insert anything by itself.

---
Reply to this email directly or view it on GitHub:
https://github.com/w3c/editing/issues/64#issuecomment-131446961

Received on Saturday, 15 August 2015 20:48:54 UTC