PricingDocsAcademy
Bluesky ...
Wed, Dec 11, 10:34 PM

Copy to clipboard trouble

  • Sacharbonne 🤙🦥

    25 days ago

    Hello i'm trying to add a copy to clipboard function but it doesnt work properly :

    handler.ts:7 [Violation] Permissions policy violation: The Clipboard API has been blocked because of a permissions policy applied to the current document. See https://goo.gl/EuHzyv for more details.
    En @ handler.ts:7
    $ @ handleAction.ts:337
    (anonymous) @ createElement.ts:148
    d @ createElement.ts:125

    handler.ts:7 Uncaught (in promise) NotAllowedError: 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 En (handler.ts:7:30)
    at $ (handleAction.ts:337:20)
    at createElement.ts:148:9
    at Array.forEach (<anonymous>)
    at HTMLButtonElement.d (createElement.ts:125:21)
    En @ handler.ts:7
    $ @ handleAction.ts:337
    (anonymous) @ createElement.ts:148
    d @ createElement.ts:125


    I tried on ARC CHROME but only works on Safari, how to fix the issue on Chromium ?

Stop scrolling. Start building.

toddle is a visual web app builder that rivals custom code — but accessible to your entire team!

Try toddle — it's free!

© Copyright 2024 toddle. All rights reserved.