function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
JP HendrixJP Hendrix 

How to let users edit the text created from a VisualForce email template before sending

Hello. My users would like to be able to make edits to the text of emails created from a VisualForce template before they send them. I notice that this works with messaging:plainTextEmailBody - after the user selects the template, the email will render onscreen and allow editing. Any changes made will be sent in the email. However if you switch the tag to messaging:HTMLEmailBody, or also if you are editing an HTML email, that doesn't occur. Instead, it seems like it is possible to edit the text, but when the email is sent the edits do not get sent, only the original text from the email. Is there a workaround or a fix for this? I have read a post about setting contentEditable="true", but I have not been able to get that to work. 

Thanks for any help. 
Andi Butterworth 9Andi Butterworth 9
Also having the same problem here. If you find a solution or workaround, please share. Thanks!
Stéphane CôtéStéphane Côté
Same here!  
Justin ChegerJustin Cheger
I have been able to insert editable fields but the data does not stay when the email is sent.