This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[iOS] Support pasting HTML
https://bugs.webkit.org/show_bug.cgi?id=133581 <rdar://problem/17070305> Reviewed by Enrica Casucci. We can probably share a lot of code between Mac and iOS here, but for now, just implement the unimplemented functions. * editing/ios/EditorIOS.mm: (WebCore::Editor::WebContentReader::readHTML): Implemented based on WebArchive reading code above, and on Mac version of readHTML. Unlike on Mac, we don't need to support Microsoft CF_HTML format, as nothing generates it. * platform/ios/PasteboardIOS.mm: (WebCore::Pasteboard::read): (WebCore::Pasteboard::supportedPasteboardTypes): Added HTML support, as the second preferred format after WebArchive. Canonical link: https://commits.webkit.org/151579@main git-svn-id: https://svn.webkit.org/repository/webkit/trunk@169660 268f45cc-cd09-0410-ab3c-d52691b4dbfc
- Loading branch information
Showing 3 changed files with 36 additions and 3 deletions.