1
0
mirror of https://github.com/Jermolene/TiddlyWiki5 synced 2024-11-23 10:07:19 +00:00

Make tag for menubar-contents dropdown configurable (#4983)

* Make tag for menubar-contents dropdown configurable

* Make tag for menubar-contents dropdown configurable

* Make tag for menubar-contents dropdown configurable
This commit is contained in:
Simon Huber 2020-11-06 17:26:44 +01:00 committed by GitHub
parent 22e25c05eb
commit 78c72b85fb
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 9 additions and 1 deletions

View File

@ -0,0 +1,2 @@
title: $:/config/plugins/menubar/TableOfContents/Tag
text: TableOfContents

View File

@ -26,6 +26,12 @@ The breakpoint position between narrow and wide screens. Should include CSS unit
<$edit-text tiddler="$:/config/plugins/menubar/breakpoint" default="" tag="input"/>
!! Contents Tag
The tag for the ~TableOfContents used in the Contents dropdown
<$edit-text tiddler="$:/config/plugins/menubar/TableOfContents/Tag" default="" tag="input"/>
!! Menu Bar Colours
To change the colour of the menu bar, define the colours `menubar-foreground` and `menubar-background` in the currently selected palette

View File

@ -6,6 +6,6 @@ tags: $:/tags/MenuBar
<div class="tc-table-of-contents">
<<toc-selective-expandable 'TableOfContents'>>
<$macrocall $name="toc-selective-expandable" tag={{$:/config/plugins/menubar/TableOfContents/Tag}}/>
</div>