Copy to Clipboard Code

Hey guys,

How to have copy to clipboard on button with run code action? I have try with navigator.clipboard.writeText(‘text’) but it says navigator is not defined.

Thanks

Hello @rizki_susanto,
We don’t expose the clipboard API in studio, but it should work in your production website.