diff --git a/packages/editor/src/utils/props.ts b/packages/editor/src/utils/props.ts index 98fcc09e..5cf7524e 100644 --- a/packages/editor/src/utils/props.ts +++ b/packages/editor/src/utils/props.ts @@ -142,6 +142,25 @@ export const fillConfig = (config: FormConfig = []) => [ }, ], }, + { + type: 'fieldset', + legend: '字体', + items: [ + { + name: 'color', + text: '颜色', + type: 'colorPicker', + }, + { + name: 'fontSize', + text: '大小', + }, + { + name: 'fontWeight', + text: '粗细', + }, + ], + }, ], }, ],