NO BUG: Problem with copy and paste

Hello,

I have installed a new instance on my local machine (Mac OS 15.3) using LocalWP, but I have an issue with copy and paste: I get the error: Error: Your browser does not support the Clipboard API. This is however not an issue with the browser, since it works on other sites using Bricks.

Thanks,
Philippe

make a jam.dev recording to show the error how it is happening

Here is the video: Brave Browser - Home (Builder) - 11 February 2025 | Loom

it is either permission issue or security issue maybe clipboard api getting blocked or brave browser doesnt support the clipboard api properly.

this is not a bricks bug.

use chrome…

Brave, Chrome, Safari: all report the same error.

show it on video. chrome is fine on me I literaly just used copy feature minutes ago.

remember you will need to give permission for using the clipboard api for the first time. ones you give permission it works. if you dont give permission this feature wont work.

here you go: Home (Builder) - 11 February 2025 | Loom. As mentioned, same behaviour.

remember you will need to give permission for using the clipboard api for the first time . ones you give permission it works. if you dont give permission this feature wont work.

and when you block the permission when it first asked it doesnt show it again. you need to do it manualy from site permissions in the browser.

It was not exactly that, but you put me on the right tracks. It was to do with the certificate that was not trusted.
Thanks !

1 Like

Could you please let me know how you were able to solve this?

Hi @Gerben,

I’m not sure if that was the reason in @pburki case, but your website has to be on HTTPS, otherwise, Clipboard API will not work.
And for HTTPS, you will need some certificate.

Hope that helps :slight_smile:
Matej

1 Like

Hello - yes, this was my problem as well. The site was in local and the certificate was not trusted (hence http, instead of https).
Best regards,
Philippe

1 Like

But did you end up chancing anything specific? For me, I’ve already trusted my site in Local, but by default it keeps giving me this error unless I specifically go to the HTTPS version by hand. Just wondering if you’ve got it set up where when you open the site from Local it logs you in to the HTTPS version or not. :slight_smile:

I use xammp localhost http too no problem

make a https://jam.dev/ recording maybe it gives some clues

If your certificate is trusted (in local), then I suppose it should open https version. At least that’s how it works for me.

CleanShot 2025-02-20 at 21.48.07

You can also check in WP Dashboard → Settings → General if both URLs are properly set to https.

Matej

2 Likes

Hmm, I’m guessing I might just have to change the settings in WordPress and that’s all I was missing. Thanks Matej!

2 Likes

yeah this worked for me too. Just change the url in WP because it doesn’t change automatically.