NEW 76194
event.dataTransfer.getData('text/plain') is undefined when dragging text in editable region
https://bugs.webkit.org/show_bug.cgi?id=76194
Summary event.dataTransfer.getData('text/plain') is undefined when dragging text in e...
Ryosuke Niwa
Reported 2012-01-12 11:28:25 PST
Per HTML5 spec, section 8.6.5. http://www.whatwg.org/specs/web-apps/current-work/multipage/dnd.html#drag-and-drop-processing-model, dragging and dropping text in editable region should also behave like regular drag & drop as far as scripts are concerned. In particular, event.dataTransfer.getData('text/plain') in dragstart, drop, & dragend should return the actual content being moved.
Attachments
Note You need to log in before you can comment on or make changes to this bug.