-
Notifications
You must be signed in to change notification settings - Fork 157
docs: add spec for clipboard rearchitecture #454
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
Conversation
1c8a6df to
b552fe5
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I like the idea of moving closer to the W3C spec.
zcbenz
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The spec should also document the type (i.e. ClipboardItem) being passed between read and write APIs.
Co-authored-by: Charles Kerr <charles@charleskerr.com>
|
Closing in favor of electron/rfcs#19 |
This document outlines a proposal for the future of the
clipboardmodule provided by Electron.Over the course of the last few months, Chromium has been making significant changes to their Clipboard API, including the ability to handle Custom Formats. Electron has had to break small aspects of its clipboard API to account for this, and it's unclear what other changes we may be forced to adapt to as they continue this work. Beyond this, users have been asking for an improved Clipboard API as well as surfaced a number of bugs with its current implementation - the most detailed of which is here. Given this, @jkleinsc and i have put together a more streamlined proposal for its future.