[Editing] Adding `dataTransfer` to `InputEvent` interface


This is yet another feedback from multiple browser vendors (Apple, Google, Microsoft) that got together in Redmond last Thursday to discuss editing API and related events.

It came to our attention that `beforeinput` event fired for paste would need to expose HTML (or images, etc...) instead of plain text.  To expose that data, we suggest to add `dataTransfer` property on the `InputEvent` interface to expose these non-plaintext contents.

As suggested in

we suggest doing so in:
as a partial interface definition for `InputEvent` which defines `data`, `dataTransfer`, and `editType` IDL attributes.

- R. Niwa

Received on Saturday, 9 January 2016 23:33:23 UTC