From aa3f9317212f94ded8f988a6ac69f8e67534edde Mon Sep 17 00:00:00 2001 From: Jeremy Ruston Date: Thu, 5 Oct 2023 13:40:33 +0100 Subject: [PATCH] Expose custom tour settings --- plugins/tiddlywiki/tour/settings.tid | 8 ++++++++ plugins/tiddlywiki/tour/styles.tid | 6 ++++++ 2 files changed, 14 insertions(+) diff --git a/plugins/tiddlywiki/tour/settings.tid b/plugins/tiddlywiki/tour/settings.tid index 8449e6b5c..a786dda84 100644 --- a/plugins/tiddlywiki/tour/settings.tid +++ b/plugins/tiddlywiki/tour/settings.tid @@ -90,6 +90,14 @@ Select a tour: + <$list filter="[has[settings]]" variable="ignore"> +

+ Custom tour settings: +

+
+ <$transclude $tiddler={{{ [get[settings]] }}}/> +
+

<> <> diff --git a/plugins/tiddlywiki/tour/styles.tid b/plugins/tiddlywiki/tour/styles.tid index 64ef23a15..9f6f665e9 100644 --- a/plugins/tiddlywiki/tour/styles.tid +++ b/plugins/tiddlywiki/tour/styles.tid @@ -157,6 +157,12 @@ tags: $:/tags/Stylesheet max-height: 100px; } +.tc-tour-settings-tour-settings { + border: 1px solid <>; + margin: 0.5em 0; + padding: 0.5em; +} + .tc-tour-settings-tour-step { border: 1px solid <>; }