Make the "Contents" menu item caption configurable
This commit is contained in:
parent
f517497fe7
commit
71de856514
|
@ -1,6 +1,8 @@
|
|||
title: $:/plugins/tiddlywiki/menubar/config
|
||||
tags: $:/tags/ControlPanel/Toolbars
|
||||
caption: Menu Bar
|
||||
created: 20230519012218346
|
||||
modified: 20230712224614730
|
||||
tags: $:/tags/ControlPanel/Toolbars
|
||||
title: $:/plugins/tiddlywiki/menubar/config
|
||||
|
||||
\define config-base() $:/config/plugins/menubar/MenuItems/Visibility/
|
||||
|
||||
|
@ -28,7 +30,7 @@ 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. Add //caption// and //description// fields to the tag tiddler to change ~TableOfContents' menu label.
|
||||
|
||||
<$edit-text tiddler="$:/config/plugins/menubar/TableOfContents/Tag" default="" tag="input"/>
|
||||
|
||||
|
|
|
@ -1,8 +1,10 @@
|
|||
title: $:/plugins/tiddlywiki/menubar/items/contents
|
||||
caption: Contents
|
||||
description: Table of Contents
|
||||
caption: <$text text={{{ [{$:/config/plugins/menubar/TableOfContents/Tag}get[caption]else[Contents]] }}}/>
|
||||
created: 20230519010904497
|
||||
description: <$text text={{{ [{$:/config/plugins/menubar/TableOfContents/Tag}get[description]else[Table of Contents]] }}}/>
|
||||
is-dropdown: yes
|
||||
modified: 20230712225429073
|
||||
tags: $:/tags/MenuBar
|
||||
title: $:/plugins/tiddlywiki/menubar/items/contents
|
||||
|
||||
<div class="tc-table-of-contents">
|
||||
|
||||
|
|
Loading…
Reference in New Issue