diff --git a/plugins/tiddlywiki/menubar/config-TableOfContentsTag.tid b/plugins/tiddlywiki/menubar/config-TableOfContentsTag.tid new file mode 100644 index 000000000..4469a9b26 --- /dev/null +++ b/plugins/tiddlywiki/menubar/config-TableOfContentsTag.tid @@ -0,0 +1,2 @@ +title: $:/config/plugins/menubar/TableOfContents/Tag +text: TableOfContents diff --git a/plugins/tiddlywiki/menubar/config.tid b/plugins/tiddlywiki/menubar/config.tid index 9b564ee68..abcb8fcea 100644 --- a/plugins/tiddlywiki/menubar/config.tid +++ b/plugins/tiddlywiki/menubar/config.tid @@ -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 diff --git a/plugins/tiddlywiki/menubar/items/contents.tid b/plugins/tiddlywiki/menubar/items/contents.tid index 5753679eb..f4fbdb2c2 100644 --- a/plugins/tiddlywiki/menubar/items/contents.tid +++ b/plugins/tiddlywiki/menubar/items/contents.tid @@ -6,6 +6,6 @@ tags: $:/tags/MenuBar
-<> +<$macrocall $name="toc-selective-expandable" tag={{$:/config/plugins/menubar/TableOfContents/Tag}}/>