mirror of
https://github.com/Jermolene/TiddlyWiki5.git
synced 2026-01-30 04:11:32 -08:00
Fix palette switcher used in the sidebar
by adding a new "thumbnails" parameter to the template
This commit is contained in:
parent
55d9e92032
commit
c75f50e99a
4 changed files with 24 additions and 22 deletions
|
|
@ -4,11 +4,18 @@ caption: {{$:/language/ControlPanel/Palette/Caption}}
|
|||
|
||||
\define lingo-base() $:/language/ControlPanel/Palette/
|
||||
|
||||
{{$:/snippets/paletteswitcher}}
|
||||
<$transclude $tiddler="$:/snippets/paletteswitcher" thumbnails="yes"/>
|
||||
|
||||
<$let paletteEditor={{{ [{$:/palette}get[editor]] :else[{$:/palette}get[palette-import]!match[]get[editor]] }}}>
|
||||
{{$:/snippets/palettetests}}
|
||||
|
||||
<$let
|
||||
paletteEditor={{{ [{$:/palette}get[editor]] :else[{$:/palette}get[palette-import]!match[]get[editor]] }}}
|
||||
>
|
||||
<%if [<paletteEditor>!match[]] %>
|
||||
<$transclude $tiddler=<<paletteEditor>> $mode="block"/>
|
||||
<div>
|
||||
<<lingo CustomEditor/Prompt>>
|
||||
<$transclude $tiddler=<<paletteEditor>> $mode="block"/>
|
||||
</div>
|
||||
<%endif%>
|
||||
</$let>
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue