diff --git a/CHANGELOG.md b/CHANGELOG.md index 5d5340c..dce111d 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,7 @@

V3

+* `3.7.0`: `ctrl+click` to double click for tiddler navigation * `3.6.1`: update readme video tutorial * `3.6.0`: update `/?` to `@help:`, and some other triggers * `3.5.2`: update clickable icon style on hover diff --git a/package.json b/package.json index 2ba009c..57692cb 100644 --- a/package.json +++ b/package.json @@ -7,7 +7,7 @@ "registry": "https://registry.npmjs.org" }, "license": "MIT", - "version": "3.6.1", + "version": "3.7.0", "packageManager": "pnpm@9.0.6", "scripts": { "update:config": " pnpm ts-node scripts/generateConfig.ts", diff --git a/src/tiddlywiki-codemirror-6/modules/extensions/tidExt.ts b/src/tiddlywiki-codemirror-6/modules/extensions/tidExt.ts index 573da1e..290d5e7 100644 --- a/src/tiddlywiki-codemirror-6/modules/extensions/tidExt.ts +++ b/src/tiddlywiki-codemirror-6/modules/extensions/tidExt.ts @@ -29,12 +29,12 @@ class CustomLink extends WidgetType { wrapper.textContent = cm6['clickable-icon']() || ' 🔗'; wrapper.className = 'cm-tiddler-link'; wrapper.title = title; - wrapper.onclick = (e: MouseEvent) => { + wrapper.ondblclick = (e: MouseEvent) => { e.preventDefault(); - if (e.ctrlKey) { - useSound(); - new $tw.Story().navigateTiddler(title); - } + // if (e.ctrlKey) { + useSound(); + new $tw.Story().navigateTiddler(title); + // } }; return wrapper; diff --git a/src/tiddlywiki-codemirror-6/plugin.info b/src/tiddlywiki-codemirror-6/plugin.info index e262fde..a69abd0 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.6.1", + "version": "3.7.0", "core-version": ">=5.3.4", "list": "readme settings changelog ", "stability": "STABILITY_2_STABLE"