release: v0.6.1 — 专注模式宽度官方 API 100% + 版本号更新

This commit is contained in:
thzxx
2026-08-09 20:45:37 +08:00
parent a981d9fd08
commit 8bee37cb89
3 changed files with 4 additions and 4 deletions
+1 -1
View File
@@ -1,6 +1,6 @@
{ {
"name": "marklite", "name": "marklite",
"version": "0.6.0", "version": "0.6.1",
"description": "Lightweight Markdown Editor for Windows", "description": "Lightweight Markdown Editor for Windows",
"main": "./dist/main/index.js", "main": "./dist/main/index.js",
"scripts": { "scripts": {
+2 -2
View File
@@ -120,8 +120,8 @@ export const Editor = React.memo(function Editor({ themeMode, onAppSave }: Edito
plugins: EDITOR_PLUGINS, plugins: EDITOR_PLUGINS,
// v0.5.0: 启用 0.4.0 浮动格式工具栏(选中文本弹出格式化按钮) // v0.5.0: 启用 0.4.0 浮动格式工具栏(选中文本弹出格式化按钮)
floatingToolbar: true, floatingToolbar: true,
// v0.6.1: 专注模式宽度使用 0.4.1 官方 API(数字为 px // v0.6.1: 专注模式宽度使用 0.4.1 官方 API — 100% 全宽(默认 960px 偏窄
zenMaxWidth: 1200, zenMaxWidth: '100%',
// v0.2.4 新增配置项 // v0.2.4 新增配置项
syncScroll: true, syncScroll: true,
wordWrap: true, wordWrap: true,
+1 -1
View File
@@ -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 MAX_FILE_SIZE = 20 * 1024 * 1024 // 20MB
export const ALLOWED_EXTENSIONS = ['.md', '.markdown', '.txt'] as const export const ALLOWED_EXTENSIONS = ['.md', '.markdown', '.txt'] as const
export const SKIP_DIRS = new Set([ export const SKIP_DIRS = new Set([