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
optimising-macrocalls
Simon Huber 2020-11-06 17:26:44 +01:00 zatwierdzone przez GitHub
rodzic 22e25c05eb
commit 78c72b85fb
Nie znaleziono w bazie danych klucza dla tego podpisu
ID klucza GPG: 4AEE18F83AFDEB23
3 zmienionych plików z 9 dodań i 1 usunięć

Wyświetl plik

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

Wyświetl plik

@ -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

Wyświetl plik

@ -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>