feat: The translation box can be set to adaptive height

This commit is contained in:
Gabe
2025-10-26 16:18:56 +08:00
parent 61a515c1d2
commit bdaf665b7c
5 changed files with 45 additions and 6 deletions

View File

@@ -88,6 +88,7 @@ export const DEFAULT_TRANBOX_SETTING = {
hideClickAway: false, // 是否点击外部关闭弹窗
simpleStyle: false, // 是否简洁界面
followSelection: false, // 翻译框是否跟随选中文本
autoHeight: false, // 自适应高度
triggerMode: OPT_TRANBOX_TRIGGER_CLICK, // 触发翻译方式
// extStyles: "", // 附加样式
enDict: OPT_DICT_BING, // 英文词典