contracts-wizard icon indicating copy to clipboard operation
contracts-wizard copied to clipboard

Copy to Clipboard not working from docs site

Open ericglau opened this issue 2 years ago • 1 comments

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 avatar Oct 12 '23 14:10 ericglau

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.

ericglau avatar May 01 '24 13:05 ericglau