Co-authored-by: renee-png <262607627+renee-png@users.noreply.github.com>
This commit is contained in:
gpt-engineer-app[bot]
2026-04-18 03:03:37 +00:00
co-authored by renee-png
parent 60217a933a
commit 496b1a5e67
@@ -968,6 +968,7 @@ export function CustomFormBuilder() {
setFontFamily(t.font_family);
setFontSize(t.font_size_pt);
if (typeof t.line_height === "number" && t.line_height > 0) setLineHeight(t.line_height);
if (typeof t.margin_inches === "number" && t.margin_inches > 0) setMarginInches(t.margin_inches);
editor.commands.setContent(t.body_html || "<p></p>");
const loadedFields = Array.isArray(t.fields) ? t.fields : [];
setFormFields(loadedFields);