From e8e39ea799642f9fb78df5408f3842f4127e92c1 Mon Sep 17 00:00:00 2001 From: oeyoews Date: Thu, 10 Oct 2024 20:09:27 +0800 Subject: [PATCH] fix: revert highwhitespace style --- .gitignore | 4 +++- CHANGELOG.md | 1 + package.json | 2 +- packages/lang-tiddlywiki/package.json | 2 +- src/tiddlywiki-codemirror-6/plugin.info | 2 +- src/tiddlywiki-codemirror-6/tiddlers/styles/styles.tid | 6 ++++-- 6 files changed, 11 insertions(+), 6 deletions(-) diff --git a/.gitignore b/.gitignore index 194d4dc0..edc89758 100644 --- a/.gitignore +++ b/.gitignore @@ -130,9 +130,11 @@ public-dist # for TiddlyWiki dist/ output/ -wiki/tiddlers/ Draft** \$__StoryList.tid \$__palette.tid \$__Import.tid \$__DefaultTiddlers.tid + +!wiki\tiddlers/\$__plugins_oeyoews_neotw-vconsole.json +wiki/tiddlers/ \ No newline at end of file diff --git a/CHANGELOG.md b/CHANGELOG.md index 38d614fa..8ebe1657 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,6 @@

Changelog

+* `3.3.2`: 恢复空格高亮样式 * `3.3.1`: 优化文件类型补全 * `3.3.0`: 调整补全弹窗最大高度 * `3.2.0`: 支持高亮显示回车换行符号 diff --git a/package.json b/package.json index 13f84305..02c7c3b2 100644 --- a/package.json +++ b/package.json @@ -7,7 +7,7 @@ "registry": "https://registry.npmjs.org" }, "license": "MIT", - "version": "3.3.2", + "version": "3.3.3", "packageManager": "pnpm@9.0.6", "scripts": { "update:config": " pnpm ts-node scripts/generateConfig.ts", diff --git a/packages/lang-tiddlywiki/package.json b/packages/lang-tiddlywiki/package.json index 28ab3437..3101b084 100644 --- a/packages/lang-tiddlywiki/package.json +++ b/packages/lang-tiddlywiki/package.json @@ -1,6 +1,6 @@ { "name": "lang-tiddlywiki", - "version": "3.3.2", + "version": "3.3.3", "description": "", "scripts": { "build": "cm-buildhelper src/tiddlywiki.ts" diff --git a/src/tiddlywiki-codemirror-6/plugin.info b/src/tiddlywiki-codemirror-6/plugin.info index a2725508..159b048a 100644 --- a/src/tiddlywiki-codemirror-6/plugin.info +++ b/src/tiddlywiki-codemirror-6/plugin.info @@ -2,7 +2,7 @@ "title": "$:/plugins/oeyoews/tiddlywiki-codemirror-6", "name": "CodeMirror6", "description": "CodeMirror 6 editor", - "version": "3.3.2", + "version": "3.3.3", "core-version": ">=5.3.4", "list": "readme changelog" } \ No newline at end of file diff --git a/src/tiddlywiki-codemirror-6/tiddlers/styles/styles.tid b/src/tiddlywiki-codemirror-6/tiddlers/styles/styles.tid index a10a1ea5..357ce8c6 100644 --- a/src/tiddlywiki-codemirror-6/tiddlers/styles/styles.tid +++ b/src/tiddlywiki-codemirror-6/tiddlers/styles/styles.tid @@ -474,10 +474,12 @@ input.btc-search-input:focus { border-radius: 3px; padding: 0 2px; opacity: 0; + scale: 0.8; } li[aria-selected] { .cm-autocomplete-tab { opacity: 1; + } } @@ -499,10 +501,10 @@ li[aria-selected] { } } --> -.cm-highlightSpace:before { + .cm-highlightTab { opacity: 0.3 !important; }