Re: [editing] Reference actions in clipboard API spec for execCommand copy/cut/paste (#61)

@hallvors : sorry, for the earlier comment of mine. that was incorrect.

Right now there will only be intent events for all user actions and JS editor code then decides whether and how to react to that. The https://w3c.github.io/editing/input-events.html spec covers most of them, but for paste I think we could use the paste event triggered through https://w3c.github.io/clipboard-apis/#fire-a-clipboard-event , which JS then can use. At a later stage, there may be a higher level spec which includes handling of paste directly (without the use of JS). 

For cut, I wonder if this is just combining copy with a subsequent deleteContent intent. Any reason this wouldn't work?

ContentEditable=True will likely also be deprecated and there will likely be a decision not to spec it, the way it currently looks. 

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

Received on Tuesday, 28 July 2015 21:57:52 UTC