diff --git a/core/ui/ViewTemplate/unfold.tid b/core/ui/ViewTemplate/unfold.tid index b145b605f..890f92e82 100644 --- a/core/ui/ViewTemplate/unfold.tid +++ b/core/ui/ViewTemplate/unfold.tid @@ -1,6 +1,8 @@ title: $:/core/ui/ViewTemplate/unfold tags: $:/tags/ViewTemplate +<$reveal tag="div" type="nomatch" state="$:/config/ViewToolbarButtons/Visibility/$:/core/ui/Buttons/fold-bar" text="hide"> + <$reveal tag="div" type="nomatch" state=<> text="hide" default="show" retain="yes" animate="yes"> <$button tooltip={{$:/language/Buttons/Fold/Hint}} aria-label={{$:/language/Buttons/Fold/Caption}} class="tc-fold-banner"> <$action-sendmessage $message="tm-fold-tiddler" $param=<> foldedState=<>/> @@ -14,3 +16,5 @@ tags: $:/tags/ViewTemplate {{$:/core/images/chevron-down}} + + diff --git a/core/ui/ViewToolbar/fold-bar.tid b/core/ui/ViewToolbar/fold-bar.tid new file mode 100644 index 000000000..e5f9b48c0 --- /dev/null +++ b/core/ui/ViewToolbar/fold-bar.tid @@ -0,0 +1,6 @@ +title: $:/core/ui/Buttons/fold-bar +tags: $:/tags/ViewToolbar +caption: fold-bar +description: Optional bars to fold and unfold tiddlers + + \ No newline at end of file