- From: Chong Zhang <notifications@github.com>
- Date: Wed, 24 Aug 2016 08:58:41 -0700
- To: w3c/editing <editing@noreply.github.com>
Received on Wednesday, 24 August 2016 15:59:57 UTC
I would imagine we could have: 1. `dataTransfer=NULL` for both `deleteByDrag` and `deleteByCut`, and 2. `dataTransfer=|data to insert|` for `insertFromDrop` and `insertFromPaste`. Does that sounds reasonable? But for `2.`, should `dataTransfer` be the 1. Raw data from clipboard/drag, or 2. The fragment to be put on DOM? e.g. The raw data could be `<meta charset='utf-8'><h1 style="........">header</h1>`, but the fragment being actually inserted could be just `<h1>header</h1>`. I would vote for `1. Raw data` since JS could put their own stuff, but this might not be consistence with `beforeinput`'s definition? -- 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/147#issuecomment-242118037
Received on Wednesday, 24 August 2016 15:59:57 UTC