-
Notifications
You must be signed in to change notification settings - Fork 29.3k
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
Expose Clipboard#read/write with data transfer #77790
Comments
We have no plans of exposing any of the "custom" electron API but our plan is to explore the JS standard APIs: https://developer.mozilla.org/en-US/docs/Web/API/Clipboard. Once read/write is ready, and supported in Electron, we will expose them in the API. |
Thanks for the answer, sad but makes sense. |
I keeping this open so that we can tackle this once the underlying API is ready |
This feature request is now a candidate for our backlog. The community has 60 days to upvote the issue. If it receives 20 upvotes we will move it to our backlog. If not, we will close it. To learn more about how we handle feature requests, please see our documentation. Happy Coding! |
If this was implemented, would that allow for more than text in the Clipboard API? Looks like this Paste Image extension doesn't work in WSL b/c of this? Remote -> Tips & Tricks -> Clipboard does not work
|
But I saw https://developer.mozilla.org/en-US/docs/Web/API/Clipboard/read, mozilla standard supports read() method, which can be used to get image from the clipboard. |
Everyone here is already aware of the Clipboard API, and waits patiently. You don't need to ping or bump. Just click Subscribe. The specification is managed by W3C, not Mozilla. The APIs still have a long way to go before becoming production-ready, and receive very limited support now. |
Okay, thank you! I am sorry about my ping or bump, and I will wait for it. |
We closed this issue because we don't plan to address it in the foreseeable future. If you disagree and feel that this issue is crucial: we are happy to listen and to reconsider. If you wonder what we are up to, please see our roadmap and issue reporting guidelines. Thanks for your understanding, and happy coding! |
There is still no good support across browsers for this: https://developer.mozilla.org/en-US/docs/Web/API/Clipboard#browser_compatibility |
Some time has passed and this seems pretty well supported by now 🥳 I'd be interested in this API should it become available, so I'm just posting a gentle bump here. |
Can you provide HTML clipboard access which is available in Electron? i.e. expose that in extHostClipboard.ts
The text was updated successfully, but these errors were encountered: