Skip to content

Commit

Permalink
feat(playground): 增加字体样式配置
Browse files Browse the repository at this point in the history
  • Loading branch information
roymondchen authored and jia000 committed May 5, 2022
1 parent 56375b0 commit f7bca02
Showing 1 changed file with 19 additions and 0 deletions.
19 changes: 19 additions & 0 deletions packages/editor/src/utils/props.ts
Original file line number Diff line number Diff line change
Expand Up @@ -142,6 +142,25 @@ export const fillConfig = (config: FormConfig = []) => [
},
],
},
{
type: 'fieldset',
legend: '字体',
items: [
{
name: 'color',
text: '颜色',
type: 'colorPicker',
},
{
name: 'fontSize',
text: '大小',
},
{
name: 'fontWeight',
text: '粗细',
},
],
},
],
},
],
Expand Down

0 comments on commit f7bca02

Please sign in to comment.