mirror of
https://github.com/Tencent/tmagic-editor.git
synced 2025-04-06 03:57:56 +08:00
feat(playground): 增加字体样式配置
This commit is contained in:
parent
56375b0fb0
commit
f7bca02844
@ -142,6 +142,25 @@ export const fillConfig = (config: FormConfig = []) => [
|
||||
},
|
||||
],
|
||||
},
|
||||
{
|
||||
type: 'fieldset',
|
||||
legend: '字体',
|
||||
items: [
|
||||
{
|
||||
name: 'color',
|
||||
text: '颜色',
|
||||
type: 'colorPicker',
|
||||
},
|
||||
{
|
||||
name: 'fontSize',
|
||||
text: '大小',
|
||||
},
|
||||
{
|
||||
name: 'fontWeight',
|
||||
text: '粗细',
|
||||
},
|
||||
],
|
||||
},
|
||||
],
|
||||
},
|
||||
],
|
||||
|
Loading…
x
Reference in New Issue
Block a user