From 03519c14b06f86880259b21d3ba07f646606e828 Mon Sep 17 00:00:00 2001 From: William Jackson Date: Wed, 23 Dec 2015 20:55:03 +0200 Subject: [PATCH] Added tooltip option Tooltips should be entered in the 'tooltip' field of each tab tiddler --- core/wiki/macros/tabs.tid | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/core/wiki/macros/tabs.tid b/core/wiki/macros/tabs.tid index da07dd2ee..df39d8f78 100644 --- a/core/wiki/macros/tabs.tid +++ b/core/wiki/macros/tabs.tid @@ -5,13 +5,15 @@ tags: $:/tags/Macro
<$list filter="$tabsList$" variable="currentTab"> -<$button set=<> setTo=<> default="$default$" selectedClass="tc-tab-selected"> +<$tiddler tiddler=<> > +<$button set=<> setTo=<> default="$default$" selectedClass="tc-tab-selected" tooltip={{!!tooltip}}> <$set name="tv-wikilinks" value="no"> <$transclude tiddler=<> field="caption"> <$macrocall $name="currentTab" $type="text/plain" $output="text/plain"/> +
<$list filter="$tabsList$" variable="currentTab">