From 585d7138844603c39a4f8fe305336e720da84faf Mon Sep 17 00:00:00 2001 From: "gpt-engineer-app[bot]" <159125892+gpt-engineer-app[bot]@users.noreply.github.com> Date: Sat, 18 Apr 2026 02:41:36 +0000 Subject: [PATCH] Changes Co-authored-by: renee-png <262607627+renee-png@users.noreply.github.com> --- src/components/forms/custom-form-builder.tsx | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/components/forms/custom-form-builder.tsx b/src/components/forms/custom-form-builder.tsx index 46666ae..8128e3c 100644 --- a/src/components/forms/custom-form-builder.tsx +++ b/src/components/forms/custom-form-builder.tsx @@ -909,6 +909,7 @@ export function CustomFormBuilder() { body_html: editor.getHTML(), font_family: fontFamily, font_size_pt: fontSize, + line_height: lineHeight, signature_blocks: [], fields: formFields as any, }; @@ -946,6 +947,7 @@ export function CustomFormBuilder() { setHideTitle(t.hide_title); setFontFamily(t.font_family); setFontSize(t.font_size_pt); + if (typeof t.line_height === "number" && t.line_height > 0) setLineHeight(t.line_height); editor.commands.setContent(t.body_html || "
"); const loadedFields = Array.isArray(t.fields) ? t.fields : []; setFormFields(loadedFields);