Sharing text from web views should include Web Archive attachment
| Originator: | patrick | ||
| Number: | rdar://21445342 | Date Originated: | 06/18/15 |
| Status: | Open | Resolved: | |
| Product: | iOS | Product Version: | 9.0.0 [13A4254u] |
| Classification: | Enhancement | Reproducible: | N/A |
Summary: When copying text from a web view to the pasteboard, valuable metadata is included in the form of an "Apple Web Archive pasteboard type." This data includes both source and styling information that would be valuable when sharing to a Share Extension. When sharing text from a web view, `SLComposeServiceViewController.extensionContext.inputItems` should provide both the selected text and a web archive representation of that text. Steps to Reproduce: 1. Select text within a web view (Safari or otherwise) 2. Copy to pasteboard to inspect Web Archive 3. Select same text 4. Share to a custom Share Extension 5. Observe an unfortunate lack of Web Archive attachment Expected Results: The inclusion of a Web Archive attachment in the Extension's context. Actual Results: Only the plain text, which is a redundant copy of the included `contentText`.
Comments
Please note: Reports posted here will not necessarily be seen by Apple. All problems should be submitted at bugreport.apple.com before they are posted here. Please only post information for Radars that you have filed yourself, and please do not include Apple confidential information in your posts. Thank you!