Bug 133581

Summary: [iOS] Support pasting HTML
Product: WebKit Reporter: Alexey Proskuryakov <ap>
Component: HTML EditingAssignee: Alexey Proskuryakov <ap>
Status: RESOLVED FIXED    
Severity: Normal CC: commit-queue, darin, enrica
Priority: P2 Keywords: InRadar
Version: 528+ (Nightly build)   
Hardware: iPhone / iPad   
OS: Unspecified   
Attachments:
Description Flags
proposed fix none

Alexey Proskuryakov
Reported 2014-06-06 12:00:55 PDT
There is no way for a 3rd party application to create a rich HTML pasteboard flavor that could be pasted to a web view. WebKit supports pasting WebArchives, but there is no API to build a WebArchive directly. And for kUTTypeHTML, we just paste it as plain test, because this UTI inherits from kUTTypeText. <rdar://problem/17070305>
Attachments
proposed fix (4.01 KB, patch)
2014-06-06 12:04 PDT, Alexey Proskuryakov
no flags
Alexey Proskuryakov
Comment 1 2014-06-06 12:04:49 PDT
Created attachment 232624 [details] proposed fix
Enrica Casucci
Comment 2 2014-06-06 12:07:21 PDT
Comment on attachment 232624 [details] proposed fix Looks good. Thanks for fixing this one :-)
WebKit Commit Bot
Comment 3 2014-06-06 14:04:42 PDT
Comment on attachment 232624 [details] proposed fix Clearing flags on attachment: 232624 Committed r169660: <http://trac.webkit.org/changeset/169660>
WebKit Commit Bot
Comment 4 2014-06-06 14:04:46 PDT
All reviewed patches have been landed. Closing bug.
Note You need to log in before you can comment on or make changes to this bug.