1
0
mirror of https://github.com/Jermolene/TiddlyWiki5 synced 2024-12-04 23:39:57 +00:00
TiddlyWiki5/plugins/tiddlywiki/text-slicer/ui/preview-column-multiple.tid
Jermolene 0769b90bb7 Text-slicer: Control preview column with dropdown
Instead of showing a sequence of all documents in the preview column,
we just show a single document, with a dropdown to choose which one is
shown.

The change makes it easier to deal with large numbers of documents.
2015-11-05 12:33:21 +00:00

14 lines
494 B
Plaintext

title: $:/plugins/tiddlywiki/text-slicer/ui/preview-column/multiple
Show document: <$select tiddler="$:/plugins/tiddlywiki/text-slicer/config/currentDocument">
<$list filter="[toc-type[document]!has[draft.of]sort[title]]">
<option value=<<currentTiddler>>><$view field="title"/></option>
</$list>
</$select>
<$tiddler tiddler={{$:/plugins/tiddlywiki/text-slicer/config/currentDocument}}>
<$transclude tiddler="$:/plugins/tiddlywiki/text-slicer/templates/interactive/document"/>
</$tiddler>