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

Description Alexey Proskuryakov 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>
Comment 1 Alexey Proskuryakov 2014-06-06 12:04:49 PDT
Created attachment 232624 [details]
proposed fix
Comment 2 Enrica Casucci 2014-06-06 12:07:21 PDT
Comment on attachment 232624 [details]
proposed fix

Looks good. Thanks for fixing this one :-)
Comment 3 WebKit Commit Bot 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>
Comment 4 WebKit Commit Bot 2014-06-06 14:04:46 PDT
All reviewed patches have been landed.  Closing bug.