diff --git a/core/wiki/macros/tabs.tid b/core/wiki/macros/tabs.tid index c9d44d2e3..6a1294ecb 100644 --- a/core/wiki/macros/tabs.tid +++ b/core/wiki/macros/tabs.tid @@ -3,8 +3,9 @@ tags: $:/tags/Macro \define tabs(tabsList,default,state:"$:/state/tab",class,template)
+<$set name="state" value=<>>
-<$list filter="$tabsList$" variable="currentTab"><$set name="save-currentTiddler" value=<>><$tiddler tiddler=<>><$button set=<> setTo=<> default="$default$" selectedClass="tc-tab-selected" tooltip={{!!tooltip}}> +<$list filter="$tabsList$" variable="currentTab"><$set name="save-currentTiddler" value=<>><$tiddler tiddler=<>><$button set=<> setTo=<> default="$default$" selectedClass="tc-tab-selected" tooltip={{!!tooltip}}> <$tiddler tiddler=<>> <$set name="tv-wikilinks" value="no"> <$transclude tiddler=<> field="caption"> @@ -16,7 +17,7 @@ tags: $:/tags/Macro
<$list filter="$tabsList$" variable="currentTab"> -<$reveal type="match" state=<> text=<> default="$default$"> +<$reveal type="match" state=<> text=<> default="$default$"> <$transclude tiddler="$template$" mode="block"> @@ -28,5 +29,6 @@ tags: $:/tags/Macro
+
\end