<rdar://problem/54102238>
Created attachment 375961 [details] Patch
Comment on attachment 375961 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=375961&action=review > Source/WebKit/UIProcess/ios/WKContentViewInteraction.mm:6826 > + switch (_focusedElementInformation.elementType) { > + case WebKit::InputType::Password: Either plain text field doesn't support pasting of an image, or all these could potentially support pasting of an image if we rely on page's scripts. r=me with this element type check removed as we discussed in person.
Comment on attachment 375961 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=375961&action=review >> Source/WebKit/UIProcess/ios/WKContentViewInteraction.mm:6826 >> + case WebKit::InputType::Password: > > Either plain text field doesn't support pasting of an image, > or all these could potentially support pasting of an image if we rely on page's scripts. > > r=me with this element type check removed as we discussed in person. Thanks for the review! I’ll need to adjust this patch a little more after some feedback from UIKit folks (moving the SPI to the UITextInputPrivate protocol instead)
Created attachment 375969 [details] Patch
Landed <https://trac.webkit.org/r248487>.