release: v0.4.3 — 版本号更新与预览区文本选择修复

- 版本号从 0.4.2 升级至 0.4.3
- 修复预览区内容无法鼠标拖拽选择/复制的问题
- 根因:html/body 上的 user-select: none 级联到预览面板
- 修复:为 .me-preview 及其子元素恢复 user-select: text
This commit is contained in:
thzxx
2026-07-24 20:50:59 +08:00
parent 20b6d03617
commit 1dd22be0a8
6 changed files with 21 additions and 5 deletions
+16
View File
@@ -128,6 +128,22 @@ body {
height: 100%;
}
/* FIX: Allow text selection in the preview pane.
global.css sets user-select:none on html/body to prevent
selection in UI chrome (toolbar, tabs, sidebar), but this
also blocked mouse-drag selection in the Markdown preview.
Override back to the browser default for the preview area. */
.metona-editor-wrapper .me-preview,
.metona-editor-wrapper .me-preview * {
user-select: text;
}
/* Also restore selection in the editor textarea (MetonaEditor
explicitly sets user-select:none on it in some themes) */
.metona-editor-wrapper textarea {
user-select: text;
}
/* Tab Bar */
#tab-bar {
height: 36px;