Bug 161544
| Summary: | Access the pasteboard data in multiple formats is not working | ||
|---|---|---|---|
| Product: | WebKit | Reporter: | Daniel Böhringer <daniel.boehringer> |
| Component: | DOM | Assignee: | Nobody <webkit-unassigned> |
| Status: | NEW | ||
| Severity: | Blocker | CC: | daniel.boehringer, hello, kerusan, martin |
| Priority: | P2 | Keywords: | HTML5 |
| Version: | Safari 9 | ||
| Hardware: | All | ||
| OS: | OS X 10.11 | ||
| URL: | http://codebits.glennjones.net/editing/getclipboarddata.htm | ||
Daniel Böhringer
Your documentation promises the ability to access the pasteboard data in multiple formats: https://developer.apple.com/library/iad/documentation/AppleApplications/Conceptual/SafariJSProgTopics/Tasks/CopyAndPaste.html
however, if i copy rich text from e.g. Pages.app, i cannot read the rich text from within Safari.
you can verify this here:
http://codebits.glennjones.net/editing/getclipboarddata.htm
Chrome and Firefox do not expose this problem. Firefox even gives access to RTF data when rich text is on the pasteboard.
| Attachments | ||
|---|---|---|
| Add attachment proposed patch, testcase, etc. |
Martin Carlberg
Yeah, please fix this. This is a very irritating bug.
Kjell Nilsson
We need this in a system running for the City of Gothenburg, Sweden. Right now we have to tell all our users that they need to use Google Chrome instead ;-/. Thanks.
Daniel Böhringer
the issue is still present in Safari 10.
Please fix as soon as possible.
Jessica
It appears that any macOS pasteboard type which isn’t utf-8 plain text will return an empty string in the paste event.
It’d be lovely if this could be improved!
Lucas Forschler
Mass move bugs into the DOM component.