Bug 202294

Summary: [iOS]: When inserting a photo and then inserting auto-corrected text, the photo is removed
Product: WebKit Reporter: Said Abou-Hallawa <sabouhallawa>
Component: HTML EditingAssignee: Said Abou-Hallawa <sabouhallawa>
Status: RESOLVED FIXED    
Severity: Normal CC: commit-queue, megan_gardner, thorton, webkit-bug-importer, wenson_hsieh
Priority: P2 Keywords: InRadar
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   
Attachments:
Description Flags
Patch
sabouhallawa: commit-queue+
Patch none

Said Abou-Hallawa
Reported 2019-09-26 15:24:44 PDT
This bug can be seen in Notes or Mail Apps on iOS 13. 1. Create a new Mail or new Note 2. Make sure the cursor is at the beginning of the document. 3. Touch beside the cursor and select "Insert Photo or Video" 4. Pick any photo 5. Touch after or below the photo 6. Make sure the cursor is blinking at the right of the photo 7. Select one of the suggested words above the iOS keyboard Result: The suggested word replaces the photo. Expected: The suggested word is inserted after the photo.
Attachments
Patch (4.07 KB, patch)
2019-09-26 15:37 PDT, Said Abou-Hallawa
sabouhallawa: commit-queue+
Patch (7.38 KB, patch)
2019-09-27 08:39 PDT, Said Abou-Hallawa
no flags
Said Abou-Hallawa
Comment 1 2019-09-26 15:37:40 PDT
Said Abou-Hallawa
Comment 2 2019-09-26 15:38:37 PDT
Wenson Hsieh
Comment 3 2019-09-26 16:00:46 PDT
We should be able to write a test for this (see fast/events/ios/autocorrect-with-apostrophe.html for an example).
Said Abou-Hallawa
Comment 4 2019-09-27 08:39:30 PDT
WebKit Commit Bot
Comment 5 2019-09-27 10:33:32 PDT
Comment on attachment 379727 [details] Patch Clearing flags on attachment: 379727 Committed r250432: <https://trac.webkit.org/changeset/250432>
WebKit Commit Bot
Comment 6 2019-09-27 10:33:33 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.