style: 专注模式宽度调整为 1200px

This commit is contained in:
thzxx
2026-08-09 20:39:04 +08:00
parent 8398e3f124
commit a981d9fd08
+2 -2
View File
@@ -120,8 +120,8 @@ export const Editor = React.memo(function Editor({ themeMode, onAppSave }: Edito
plugins: EDITOR_PLUGINS,
// v0.5.0: 启用 0.4.0 浮动格式工具栏(选中文本弹出格式化按钮)
floatingToolbar: true,
// v0.6.1: 专注模式宽度使用 0.4.1 官方 API — 100% 全宽(默认 960px 偏窄
zenMaxWidth: '100%',
// v0.6.1: 专注模式宽度使用 0.4.1 官方 API(数字为 px
zenMaxWidth: 1200,
// v0.2.4 新增配置项
syncScroll: true,
wordWrap: true,