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);