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

There are traces of documentation of commands like "SaveAs" and "Bookmark" on the web, which may not have required an editing host - but I don't think you need to worry about those obscurities ;)

Note that I also intend to "disconnect" cut and paste from editing hosts - if the script can handle a paste it should not have to resort to hacks like hidden TEXTAREAs to enable pasting. But as far as I can tell, cE=events doesn't need to worry about these details either. A script developer adding 

```
document.addEventListener('beforepaste', function(e){e.preventDefault()})
```

has enabled the 'paste' menu entry and ctrl+V and will be able to get data from the paste event even if there is no editing host or the focus is in a cE=events element where the UA won't insert paste data.

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

Received on Sunday, 16 August 2015 10:27:50 UTC