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

The button to copy code does not work #704

Closed
danieIabel opened this issue Sep 19, 2022 · 0 comments · Fixed by #774 or giscus/giscus-component#754
Closed

The button to copy code does not work #704

danieIabel opened this issue Sep 19, 2022 · 0 comments · Fixed by #774 or giscus/giscus-component#754

Comments

@danieIabel
Copy link

Good morning. Recently I have noticed that the button to copy code does not work, that is to say this button:

console.log("copy this")

The error you get in the console is the following:

Uncaught (in promise) DOMException: The Clipboard API has been blocked because of a permissions policy applied to the current document. See https://goo.gl/EuHzyv for more details.

I think the problem may be the following: https://w3c.github.io/webappsec-permissions-policy/

Thank you very much for the excellent work, I love Giscus.

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

Successfully merging a pull request may close this issue.

1 participant