Add textarea widget spell check setting (#627)

This commit is contained in:
Chenlei Hu
2024-08-25 10:22:36 -04:00
committed by GitHub
parent b863c11e67
commit a1e40b14c7
4 changed files with 29 additions and 4 deletions

View File

@@ -291,8 +291,7 @@ const zStringInputSpec = inputSpec([
// Multiline-only fields
defaultVal: z.string().optional(),
placeholder: z.string().optional(),
spellcheck: z.boolean().optional()
placeholder: z.string().optional()
})
])
@@ -448,6 +447,7 @@ const zSettings = z.record(z.any()).and(
'Comfy.SwitchUser': z.any(),
'Comfy.SnapToGrid.GridSize': z.number(),
'Comfy.TextareaWidget.FontSize': z.number(),
'Comfy.TextareaWidget.Spellcheck': z.boolean(),
'Comfy.UseNewMenu': z.any(),
'Comfy.Validation.Workflows': z.boolean(),
'Comfy.Workflow.SortNodeIdOnSave': z.boolean()