[Webkit-unassigned] [Bug 19893] New: event.(dataTransfer|clipboardData).getData('text/html') (onpaste, ondrop)
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Fri Jul 4 01:22:29 PDT 2008
https://bugs.webkit.org/show_bug.cgi?id=19893
Summary: event.(dataTransfer|clipboardData).getData('text/html')
(onpaste, ondrop)
Product: WebKit
Version: 526+ (Nightly build)
Platform: Macintosh
OS/Version: Mac OS X 10.5
Status: UNCONFIRMED
Severity: Enhancement
Priority: P2
Component: New Bugs
AssignedTo: webkit-unassigned at lists.webkit.org
ReportedBy: gnosis at gmail.com
I asked about this in #webkit. I was having trouble getting
event.dataTransfer.getData('text/html') in a drop event, apparently it is not
available. Basically I'm left with either text/plain or parsing text/rtf (the
former allowing for no handling of html structure at all, the latter being
generally inaccurate for anything as simple as even a structure like
<li><a>[text]<br>[text]</a></li> (the rtf format treats the <br> as closing the
anchor and list item and opening a new set), making parsing rtf not very useful
to try to discern the html structure of a drop.
--
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
More information about the webkit-unassigned
mailing list