- From: Ryosuke Niwa <rniwa@apple.com>
- Date: Sat, 09 Jan 2016 15:32:31 -0800
- To: public-editing-tf <public-editing-tf@w3.org>, public-webapps WG <public-webapps@w3.org>
Hi, 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 https://lists.w3.org/Archives/Public/public-webapps/2016JanMar/0025.html we suggest doing so in: http://w3c.github.io/editing/contentEditable.html 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:02 UTC