diff --git a/core/wiki/paletteswitcher.tid b/core/wiki/paletteswitcher.tid index ced304b7b..6ea2d1711 100644 --- a/core/wiki/paletteswitcher.tid +++ b/core/wiki/paletteswitcher.tid @@ -8,19 +8,17 @@ title: $:/snippets/paletteswitcher <$linkcatcher actions=<>>
<$list filter="[all[shadows+tiddlers]tag[$:/tags/Palette]sort[name]]"> - <$set name="cls" filter="[all[current]prefix{$:/palette}]" value="tc-chooser-item tc-chosen" emptyValue="tc-chooser-item"> -
>> - <$link to={{!!title}} aria-label=`${[[$:/language/ControlPanel/Palette/Caption]get[text]]}$ - ${[all[current]get[name]]}$. ${[all[current]get[description]]}$`> - {{||$:/snippets/currpalettepreview}} -
- ''<$view field="name" format="text"/>'' -
- <$view field="description" format="text"/> -
+
match{$:/palette}then[tc-chosen]] tc-chooser-item +[join[ ]] }}}> + <$link to={{!!title}} aria-label=`${[[$:/language/ControlPanel/Palette/Caption]get[text]]}$ - ${[all[current]get[name]]}$. ${[all[current]get[description]]}$`> + {{||$:/snippets/currpalettepreview}} +
+ ''<$view field="name" format="text"/>'' +
+ <$view field="description" format="text"/>
- -
- +
+ +