+
+ {!hideColor && (
+
+ {
+ handleEdit(value, 'color');
+ }}
+ itemName="color"
+ state={state}
+ placeholder={editorDefaultValue?.color}
+ editorInheritValue={editorInheritValue?.color}
+ />
+
+ )}
+ {!hideFontSize && (
+
+ {
+ handleEdit(value, 'fontSize');
+ }}
+ itemName="fontSize"
+ menuTpl="label"
+ state={state}
+ inheritValue={editorThemePath ? 'inherit' : ''}
+ placeholder={editorDefaultValue?.fontSize}
+ />
+
+ )}
+
+
+ {!hideFontWeight && (
+
+
{
+ handleEdit(value, 'fontWeight');
+ }}
+ itemName="fontWeight"
+ menuTpl="label"
+ state={state}
+ inheritValue={editorThemePath ? 'inherit' : ''}
+ placeholder={editorDefaultValue?.fontWeight}
+ />
+ {(!hideLineHeight || !hideFontFamily) && (
+ 字重
+ )}
+
+ )}
+ {!hideLineHeight && (
+
+
{
+ handleEdit(value, 'lineHeight');
+ }}
+ itemName="lineHeight"
+ menuTpl="label"
+ state={state}
+ inheritValue={editorThemePath ? 'inherit' : ''}
+ placeholder={editorDefaultValue?.lineHeight}
+ />
+ 行高
+
+ )}
+ {!hideFontFamily && (
+
+
{
+ handleEdit(value, 'font-family');
+ }}
+ itemName="fontFamily"
+ menuTpl="label"
+ state={state}
+ inheritValue={editorThemePath ? 'inherit' : ''}
+ />
+ 字体
+
+ )}
+
+ {senior && fontStyle && (
+
+ {fontStyleOptions.map((item, index) => (
+
+
+ handleEdit(item.value, item.type)}
+ />
+
+
+ ))}
+
+ )}
+ {senior && textAlign && (
+
+ {alignOptions.map((item, index) => (
+
+
+ handleEdit(item.value, item.type)}
+ />
+
+
+ ))}
+
+ )}
+