Re-render templates client-side with real data in email preview

Fixkamo-internal
已装运
2026年3月18日 19:26 UTC
作者
kamo
提交
50fc874

The preview was showing placeholder text ({{member.firstName}} etc.) because it used the pre-rendered placeholder HTML from the backend. Now the MessageTool: - Fetches the template config from backend and maps it to SignatureConfig - Fetches live member profile + org data via useSignatureData hook - Resolves actual image URLs via useImageResolver hook - Re-renders header and signature HTML client-side using the template render functions with real member/org data - Shows accurate preview with actual names, emails, logos, and styling

所有更改

就像你看到的运输?

每一个都自动更新您工作空间的地盘。 开始自由,看它成长 一周又一周.

永远开始自由查看定价