unlayer / react-email-editor

Drag-n-Drop Email Editor Component for React.js
https://unlayer.com/embed
MIT License
4.51k stars 728 forks source link

BUG: The callback for 'previewHtml' renders mergetags before allowing interaction #375

Open devfinnd opened 8 months ago

devfinnd commented 8 months ago

The documentation states : grafik

Which apparently is not true, since the html parameter passed to the custom function already contains the sample value of each merge tag instead of the raw mergetag template.

My workaround is to also export the html via exportHtml in my custom function but it would be nicer if everything worked as documented.