Fix module canvas backgrounds, clear dummy badges, add SVG upload, new template creation, and {jednotkova_cena} variable

This commit is contained in:
Jakub_Hostacny committed 2026-09-24 11:22:23 +02:00
1 parent ab74922b93
commit 3dc5778155
3 files changed
+463 -238

No files matched your search

+4
View File
@@ -197,6 +197,10 @@ export function renderEmailHtml(campaign: NewsletterCampaign): string {
</html>`;
}
export function renderSingleModuleHtml(m: any, campaign: NewsletterCampaign): string {
return renderModule(m, campaign);
}
function renderModule(m: any, campaign: NewsletterCampaign): string {
switch (m.type) {
case 'announcement':