1
0
mirror of https://github.com/Jermolene/TiddlyWiki5 synced 2025-04-06 18:56:56 +00:00

Allow custom tabs for the plugin info

This commit is contained in:
CeeBeeTree 2025-04-01 20:42:21 +11:00
parent 961e74f73d
commit 51e2d72758
4 changed files with 1095 additions and 2 deletions

View File

@ -90,7 +90,7 @@ $:/config/Plugins/Disabled/$(currentTiddler)$
</$reveal>
</div>
</$list>
<$set name="tabsList" filter="[<currentTiddler>list[]] contents">
<$set name="tabsList" filter="[<currentTiddler>list[]] [all[shadows+tiddlers]tag[$:/tags/PluginInfoTab]!is[draft]]">
<$macrocall $name="tabs" state=<<tabs-state-macro>> tabsList=<<tabsList>> default={{{ [enlist<tabsList>] }}} template="$:/core/ui/PluginInfo"/>
</$set>
</div>

View File

@ -7,7 +7,7 @@ $(currentTiddler)$/$(languageTitle)$/$(currentTab)$
$(currentTiddler)$/$(currentTab)$
\end
\define default-tiddler-title()
$:/core/ui/PluginInfo/Default/$(currentTab)$
$(currentTab)$
\end
\whitespace trim
<$transclude tiddler=<<localised-info-tiddler-title>> mode="block">

View File

@ -1,4 +1,6 @@
title: $:/core/ui/PluginInfo/Default/contents
tags: $:/tags/PluginInfoTab
caption: contents
\define lingo-base() $:/language/TiddlerInfo/Advanced/PluginInfo/
\whitespace trim

1091
package-lock.json generated Normal file

File diff suppressed because it is too large Load Diff