From d29f17058a7d3abdc1b722d2e5759b3271fc4377 Mon Sep 17 00:00:00 2001 From: lin onetwo Date: Thu, 1 Aug 2024 19:51:14 +0800 Subject: [PATCH] fix: toc usage https://github.com/kookma/TW-TOC/issues/3?notification_referrer_id=NT_kwDOADkp3rMxMTc0Mzc2Mzc3NDozNzQ2Mjcw#issuecomment-2260539665 --- src/itonnote-plugin/Sidebar/FolderMenu.tid | 4 +--- src/itonnote-plugin/Snippets/TOCAboutCurrentTiddler.tid | 4 +--- 2 files changed, 2 insertions(+), 6 deletions(-) diff --git a/src/itonnote-plugin/Sidebar/FolderMenu.tid b/src/itonnote-plugin/Sidebar/FolderMenu.tid index f9b3229..e3a00e3 100644 --- a/src/itonnote-plugin/Sidebar/FolderMenu.tid +++ b/src/itonnote-plugin/Sidebar/FolderMenu.tid @@ -11,9 +11,7 @@ type: text/vnd.tiddlywiki <$scrollable fallthrough="none" class="tc-popup-keep tc-menubar-dropdown-sidebar"> <$let toc-open-icon="$:/core/images/fold-button" toc-closed-icon="$:/core/images/folder"> -
- <$transclude $variable="toc-ui" tag={{$:/plugins/linonetwo/itonnote/Configs/SideBarFolderMenuBaseTitle}} /> -
+ <$transclude $variable="toc-ui" tag={{$:/plugins/linonetwo/itonnote/Configs/SideBarFolderMenuBaseTitle}} /> <> diff --git a/src/itonnote-plugin/Snippets/TOCAboutCurrentTiddler.tid b/src/itonnote-plugin/Snippets/TOCAboutCurrentTiddler.tid index c399049..77eb8be 100644 --- a/src/itonnote-plugin/Snippets/TOCAboutCurrentTiddler.tid +++ b/src/itonnote-plugin/Snippets/TOCAboutCurrentTiddler.tid @@ -5,7 +5,5 @@ type: text/vnd.tiddlywiki <$let toc-open-icon="$:/core/images/fold-button" toc-closed-icon="$:/core/images/folder"> -
- <$transclude $variable="toc-selective-expandable" tag=<> /> -
+ <$transclude $variable="toc-ui" tag={{$:/plugins/linonetwo/itonnote/Configs/SideBarFolderMenuBaseTitle}} /> \ No newline at end of file