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
Clipboard: Implement permissions for pasting in Chrome-based browsers #8023
Comments
hey can u pls assign me this issue?? |
This issue is already assigned, please pick an other issue which is not yet assigned. Thanks. |
The above PR is meant to survive the clipboard sanitize process as implemented e.g. here: I.e. the old clipboard marker looked like this:
The new markup is like this:
It's not necessary to remove the old marker right now, this allows leaving the Android case alone for now. |
Next step is to actually use the new API in Chrome. To test the new functionality, have an |
#8091 removes the old markup. |
#8106 adds tests, let's close this. |
Is your feature request related to a problem?
Pressing ctrl-v pastes from the clipboard, but pressing the paste button, we just show a popup to press ctrl-v.
Describe the solution you'd like
Chrome has some new clipboard API that allows asking for the clipboard permission, we should conditionally start using that. See https://developer.mozilla.org/en-US/docs/Web/API/Clipboard/read.
The text was updated successfully, but these errors were encountered: