Bug 159964 - iOS: Cannot paste images in RTF content
Summary: iOS: Cannot paste images in RTF content
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: HTML Editing (show other bugs)
Version: WebKit Nightly Build
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Ryosuke Niwa
URL:
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2016-07-19 23:03 PDT by Ryosuke Niwa
Modified: 2016-07-22 23:12 PDT (History)
2 users (show)

See Also:


Attachments
Fixes the bug (2.41 KB, patch)
2016-07-19 23:11 PDT, Ryosuke Niwa
no flags Details | Formatted Diff | Diff
Reserve the original value of imagesEnabled (3.03 KB, patch)
2016-07-20 15:50 PDT, Ryosuke Niwa
enrica: review+
Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Ryosuke Niwa 2016-07-19 23:03:36 PDT
On iOS, images inside RTF contents are stripped because calls to setDefersLoading in Editor::createFragmentAndAddResources is not working.
Comment 1 Ryosuke Niwa 2016-07-19 23:04:15 PDT
<rdar://problem/26920568>
Comment 2 Ryosuke Niwa 2016-07-19 23:08:51 PDT
<rdar://problem/27442806>
Comment 3 Ryosuke Niwa 2016-07-19 23:11:59 PDT
Created attachment 284086 [details]
Fixes the bug
Comment 4 Ryosuke Niwa 2016-07-20 15:50:46 PDT
Created attachment 284159 [details]
Reserve the original value of imagesEnabled
Comment 5 Enrica Casucci 2016-07-20 16:51:33 PDT
Comment on attachment 284159 [details]
Reserve the original value of imagesEnabled

Looks good.
Comment 6 Ryosuke Niwa 2016-07-20 17:24:16 PDT
Committed r203482: <http://trac.webkit.org/changeset/203482>
Comment 7 Ryosuke Niwa 2016-07-22 23:09:35 PDT
Comment on attachment 284159 [details]
Reserve the original value of imagesEnabled

Oops, this patch has already been landed.
Comment 8 Darin Adler 2016-07-22 23:12:55 PDT
Sorry, my mistake.