diff --git a/web/src/app/SettingsDialog.vue b/web/src/app/SettingsDialog.vue index 42100f3..5f6fb7c 100644 --- a/web/src/app/SettingsDialog.vue +++ b/web/src/app/SettingsDialog.vue @@ -5,7 +5,7 @@ import { allCommands, formatKeys, runCommand } from './commands' import Icon, { type IconName } from './Icon.vue' import AppearanceSettings from './AppearanceSettings.vue' import PluginsPanel from './PluginsPanel.vue' -import { CONTENT_WIDTHS, FONT_SIZES, loadSettings, settings, updateSettings, type Settings } from './settings' +import { CONTENT_WIDTHS, FONT_SIZES, TAB_SIZES, loadSettings, settings, updateSettings, type Settings } from './settings' import SharePanel from './SharePanel.vue' import TokensPanel from './TokensPanel.vue' import TrashPanel from './TrashPanel.vue' @@ -13,6 +13,7 @@ import { toast, ws, type SettingsSection } from './workspace' const SECTIONS: { id: SettingsSection; title: string; icon: IconName }[] = [ { id: 'appearance', title: '外观', icon: 'palette' }, + { id: 'editor', title: '编辑器', icon: 'edit' }, { id: 'plugins', title: '插件', icon: 'command' }, { id: 'account', title: '账户', icon: 'user' }, { id: 'shortcuts', title: '快捷键', icon: 'command' }, @@ -135,6 +136,22 @@ async function changePassword() {

设置保存在服务器上,所有设备共用。

+ +