HackGT / registration

Powerful and extensible registration system for hackathons and other large events
https://registration.hack.gt
MIT License
6 stars 1 forks source link

Batch email typos from copying the rendered text instead of the raw text with template variables #250

Open evan10s opened 5 years ago

evan10s commented 5 years ago

In Slack, if you copy bold text, the actual text copied is *bold text* rather than just the plain text version.

We currently show a preview of the rendered text for a batch email beneath the raw version. However, one point of error in this process is that if you copy the rendered text by mistake, then you lose all the template variables, and you might not notice since sending the emails has no confirmation step. So similarly to what happens when you copy text in Slack, it'd be neat if copying the rendered text will paste the template variables rather than their values. For example, if the email text is Hi {{name}}, then it renders as Hi Ehsan Asdar. With this feature, when you copy the preview text, you would still get Hi {{name}}.

This issue is dedicated to Ehsan Asdar.