unlayer / react-email-editor

Drag-n-Drop Email Editor Component for React.js

Home Page:https://unlayer.com/embed

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

devfinnd opened this issue · comments

commented

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.