Re: [w3c/editing] We should keep data in UI events for beforeInput that does the text/plain serialization. We should add dataTransfer to the editing spec for other mime types(html, text with line breaks, etc) (#106)

@hallvors I have been testing quite a bit and read through all I could find about the selection API and dataTransfer.

Please let me know if you agree with the following assessment:

1. The cut/copy events of the clipboard API are in a sense beforeinput events as they should (if implemented correctly) allow for the script author to change the content of what is being copied before it actually hits the clipboard (in the case of copy and cut). 

2. Paste can also be influenced, but not by using setData. Instead, one has to prevent the event and handle the paste manually.

Correct?

---
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/106#issuecomment-232935169

Received on Friday, 15 July 2016 12:07:06 UTC