diff --git a/package.json b/package.json index 7d8a8ff..43d01ff 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "marklite", - "version": "0.6.0", + "version": "0.6.1", "description": "Lightweight Markdown Editor for Windows", "main": "./dist/main/index.js", "scripts": { diff --git a/src/renderer/components/Editor/Editor.tsx b/src/renderer/components/Editor/Editor.tsx index 6865cbc..fd76b1e 100644 --- a/src/renderer/components/Editor/Editor.tsx +++ b/src/renderer/components/Editor/Editor.tsx @@ -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(数字为 px) - zenMaxWidth: 1200, + // v0.6.1: 专注模式宽度使用 0.4.1 官方 API — 100% 全宽(默认 960px 偏窄) + zenMaxWidth: '100%', // v0.2.4 新增配置项 syncScroll: true, wordWrap: true, diff --git a/src/shared/constants.ts b/src/shared/constants.ts index e01abe3..c623153 100644 --- a/src/shared/constants.ts +++ b/src/shared/constants.ts @@ -1,5 +1,5 @@ // 共享常量 — 主进程和渲染进程共用 -export const APP_VERSION = 'v0.6.0' +export const APP_VERSION = 'v0.6.1' export const MAX_FILE_SIZE = 20 * 1024 * 1024 // 20MB export const ALLOWED_EXTENSIONS = ['.md', '.markdown', '.txt'] as const export const SKIP_DIRS = new Set([