Copy Generated Email Signature to Clipboard

Hello,

I am working on developing a simple app to generate brand compliant email signatures for a wide variety of people. I have the app working the way I would like but I am wondering if there is a way to copy the generated email signature to the clipboard so it can be pasted in outlook, gmail, etc. I would love any help you can give me. The link to the app is below. Thanks!

You can do it. Totally non Bubble way though. Pure HTML and JS.

It looks like you are using HTML element to format the signature, which is good. You can add some javascript magic to copy this if you assign an ID to the main table in the HTML element. Then, you can call the following function on a button click on the page (HTML again) and copy the table. See the demo below:
chrome_USE982oz5B

And here is the function I added:
image

And this is the ID of the table and a button that calls the function above:

You can analyze it here:

3 Likes

This topic was automatically closed after 70 days. New replies are no longer allowed.