I'm currently trying to build a sort of template mail builder that creates standardized messages for contacts in my databse and adds some personal data of this contact (e.g. name, phone number, email, etc.)
To do this I have created a rich text field that will be populated with different messages based on the button the user clicks on.
Then I have used the utils.copyToClipboard() function to copy the value of the richt text field to the clipboard. Now here my problems start, because this copied value is HTML formatted and when I paste it to Word or any webmail/mail program it will display like this and not as rich text:
I can't wrap my head around this and would be happy to receive your solutions for this problem of mine. Ultimatly I just want to copy the content of the richt text field from Retool directly to other applictions.
yes, I have been aware of this, but I want to copy the text with the formatting. But I want it to be pasted with formatting right away. Like when you copy a formatted text from one Word file to another.
We are also interested in being able to copy rich text to the clipboard.
Perhaps some functionality like this could be added to utils.copyToClipboard() if a variable as_html was passed in?
(Try pressing the 'Copy the stuff' button then pasting it into an email. You will have rich text instead of raw html).
Doing some exploring here but unfortunately, I haven't been able to find a workaround that allows you to dynamically copy other datatypes besides text. We did bump the feature request though so the dev team will take another look at it!