From 2be60b8c711840958fe6ce3b5a4a08264b6ed5a2 Mon Sep 17 00:00:00 2001 From: Martin McKeaveney Date: Mon, 10 May 2021 14:47:16 +0100 Subject: [PATCH] edit template HTML in modal --- .../pages/builder/portal/email/index.svelte | 25 +++++++++++-------- 1 file changed, 14 insertions(+), 11 deletions(-) diff --git a/packages/builder/src/pages/builder/portal/email/index.svelte b/packages/builder/src/pages/builder/portal/email/index.svelte index c4c15c5287..22ee8b07f5 100644 --- a/packages/builder/src/pages/builder/portal/email/index.svelte +++ b/packages/builder/src/pages/builder/portal/email/index.svelte @@ -4,6 +4,8 @@ Heading, Divider, Label, + Modal, + ModalContent, notifications, Layout, Input, @@ -24,6 +26,7 @@ let templateIdx = 0 let templateDefinition let templates = [] + let htmlModal $: templateTypes = templates.map((template, idx) => ({ label: template.purpose, @@ -154,19 +157,19 @@