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

Copy to Clipboard not working from docs site #295

Open
ericglau opened this issue Oct 12, 2023 · 1 comment
Open

Copy to Clipboard not working from docs site #295

ericglau opened this issue Oct 12, 2023 · 1 comment

Comments

@ericglau
Copy link
Member

The Copy to Clipboard button does not work from the embedded version in https://docs.openzeppelin.com/contracts/5.x/wizard , but works on https://wizard.openzeppelin.com/

@ericglau
Copy link
Member Author

ericglau commented May 1, 2024

The following error occurs in Chrome:

Uncaught (in promise) DOMException: Failed to execute 'writeText' on 'Clipboard': The Clipboard API has been blocked because of a permissions policy applied to the current document. See https://goo.gl/EuHzyv for more details.
    at Blob.type (https://wizard.openzeppelin.com/build/main.js:1:322949)

The button works on other browsers though.

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

1 participant