Preserve global typography and metadata in MJML exports
Quality / quality (ubuntu-latest) (push) Failing after 0s
Quality / quality (windows-latest) (push) Canceled after 0s

This commit is contained in:
Clintchiz committed 2026-09-05 17:02:11 +05:30
1 parent 6afffe9f08
commit 4e0f5adb5f
4 files changed
+39 -3

No files matched your search

+2
View File
@@ -140,6 +140,8 @@ export async function renderEmail(
direction: options.direction ?? "ltr",
countdownImageUrl: options.countdownImageUrl,
brandLinkColor: String(source.root.props.linkColor ?? "#2563eb"),
emailSubject: String(source.meta.subject),
emailPreheader: String(source.meta.preheader ?? ""),
rootBlockIds: Object.values(source.root.slots).flat().map(node => node.id),
};
const [htmlResult, textResult, mjmlResult] = await Promise.all([