Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update on 'read' and 'write' methods? #84

Open
zqillini4 opened this issue Dec 11, 2018 · 1 comment
Open

Update on 'read' and 'write' methods? #84

zqillini4 opened this issue Dec 11, 2018 · 1 comment

Comments

@zqillini4
Copy link

I'm attempting to call 'navigator.clipboard.write' for an SVG blob of data, but it appears that the navigator.clipboard object has no knowledge of the 'write' (or 'read') methods, when looking at the constructor. I only see 'readText' and 'writeText'. I was curious if there were any updates on implementing these methods. I'm currently on Chrome 71.

@garykac
Copy link
Member

garykac commented Dec 11, 2018

We're working on the details of the read() and write() apis. They were not implemented in Chromium because we didn't have agreement and didn't want to ship an API until we had confidence that the method signature was mostly correct.

See this document for the general direction we're considering for read/write: https://docs.google.com/document/d/1sMcajoYAQ_M_VOIn1RLokG1sVB7skjoeviqt9aZOcDk/edit

And individual bugs (like #44 for image support) to track progress.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants