feat: extend styles for transbox

This commit is contained in:
Gabe Yuan
2024-04-17 15:35:44 +08:00
parent d6f3b23b88
commit efc51b0d46
14 changed files with 51 additions and 80 deletions

View File

@@ -59,6 +59,7 @@ export default function Tranbox() {
hideClickAway = false,
simpleStyle = false,
triggerMode = OPT_TRANBOX_TRIGGER_CLICK,
extStyles = "",
} = tranboxSetting;
return (
@@ -208,6 +209,16 @@ export default function Tranbox() {
))}
</TextField>
<TextField
size="small"
label={i18n("extend_styles")}
name="extStyles"
defaultValue={extStyles}
onChange={handleChange}
maxRows={10}
multiline
/>
{!isExt && (
<ShortcutInput
value={tranboxShortcut}