Bug 133581 - [iOS] Support pasting HTML
Summary: [iOS] Support pasting HTML
Alias: None
Product: WebKit
Classification: Unclassified
Component: HTML Editing (show other bugs)
Version: 528+ (Nightly build)
Hardware: iPhone / iPad Unspecified
: P2 Normal
Assignee: Alexey Proskuryakov
Keywords: InRadar
Depends on:
Reported: 2014-06-06 12:00 PDT by Alexey Proskuryakov
Modified: 2014-06-06 14:04 PDT (History)
3 users (show)

See Also:

proposed fix (4.01 KB, patch)
2014-06-06 12:04 PDT, Alexey Proskuryakov
no flags Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
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.

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.