[Webkit-unassigned] [Bug 184550] [Attachment Support] WebEditingDelegate's shouldInsertNode cannot access dragged file content

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Thu Apr 12 11:43:31 PDT 2018


https://bugs.webkit.org/show_bug.cgi?id=184550

--- Comment #1 from Wenson Hsieh <wenson_hsieh at apple.com> ---
Hmmmm...the attachment element is non-standard, and intended as SPI only for internal Apple use. Might I recommend using the JavaScript API to intercept the `drop` event and perform custom handling by accessing DataTransfer.files? Or at the very least, transitioning to WK2 and using WKWebView's attachment element SPI? (it's still not recommended to use our SPI, since those aren't things we precisely document and ensure compatibility with moving forward).

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20180412/54179acc/attachment-0002.html>


More information about the webkit-unassigned mailing list