mirror of
https://github.com/Jermolene/TiddlyWiki5
synced 2025-04-06 02:37:14 +00:00
Merge 3e14c5a071f6164d0ee7582525cd23fb14ad766e into c3695765ad8b3e46b4dcc89496a2daa331215a81
This commit is contained in:
commit
8e2582c3f0
@ -1,6 +1,6 @@
|
||||
title: $:/plugins/tiddlywiki/menubar/config
|
||||
tags: $:/tags/ControlPanel/Toolbars
|
||||
caption: Menu Bar
|
||||
tags: $:/tags/ControlPanel/Toolbars
|
||||
title: $:/plugins/tiddlywiki/menubar/config
|
||||
|
||||
\define config-base() $:/config/plugins/menubar/MenuItems/Visibility/
|
||||
|
||||
@ -28,10 +28,20 @@ The breakpoint position between narrow and wide screens. Should include CSS unit
|
||||
|
||||
!! Contents Tag
|
||||
|
||||
The tag for the ~TableOfContents used in the Contents dropdown
|
||||
The tag for the ~TableOfContents used in the Contents dropdown.
|
||||
|
||||
<$edit-text tiddler="$:/config/plugins/menubar/TableOfContents/Tag" default="" tag="input"/>
|
||||
|
||||
Caption of the Contents menu item (stored in the tag's //caption// field):
|
||||
|
||||
<$edit-text tiddler={{$:/config/plugins/menubar/TableOfContents/Tag}} field="caption" default="Contents" tag="input" size=50/>
|
||||
|
||||
Description of the contents menu item (stored in the tag's //description// field):
|
||||
|
||||
<$edit-text tiddler={{$:/config/plugins/menubar/TableOfContents/Tag}} field="description" default="Table of Contents" tag="input" size=50/>
|
||||
|
||||
|
||||
|
||||
!! Menu Bar Colours
|
||||
|
||||
To change the colour of the menu bar, define the colours `menubar-foreground` and `menubar-background` in the currently selected palette
|
||||
|
@ -1,8 +1,8 @@
|
||||
title: $:/plugins/tiddlywiki/menubar/items/contents
|
||||
caption: Contents
|
||||
description: Table of Contents
|
||||
caption: <$list filter="[{$:/config/plugins/menubar/TableOfContents/Tag}has[caption]]" emptyMessage="Contents"><$transclude $field="caption"/></$list>
|
||||
description: <$text text={{{ [{$:/config/plugins/menubar/TableOfContents/Tag}get[description]else[Table of Contents]] }}}/>
|
||||
is-dropdown: yes
|
||||
tags: $:/tags/MenuBar
|
||||
title: $:/plugins/tiddlywiki/menubar/items/contents
|
||||
|
||||
<div class="tc-table-of-contents">
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user