mirror of
https://github.com/Jermolene/TiddlyWiki5
synced 2024-12-26 01:50:28 +00:00
4dd2b38faa
With this enhancement, clicking on a tiddler in the story view will navigate to that tiddler. This is needed for eg the stacked storyview, where we want to be able to click on tiddlers to bring them to the front of the stack. There are some problems though - as things stand, clicking on a tiddler in classic storyview will scroll to the top of that tiddler.
9 lines
605 B
Plaintext
9 lines
605 B
Plaintext
title: $:/core/ui/ViewTemplate
|
|
|
|
\define frame-classes()
|
|
tc-tiddler-frame tc-tiddler-view-frame $(missingTiddlerClass)$ $(shadowTiddlerClass)$ $(systemTiddlerClass)$ $(tiddlerTagClasses)$
|
|
\end
|
|
<$set name="storyTiddler" value=<<currentTiddler>>><$set name="tiddlerInfoState" value=<<qualify "$:/state/popup/tiddler-info">>><$tiddler tiddler=<<currentTiddler>>><$link tag="div" draggable="no" tabindex="1" class=<<frame-classes>>><$list filter="[all[shadows+tiddlers]tag[$:/tags/ViewTemplate]!has[draft.of]]" variable="listItem"><$transclude tiddler=<<listItem>>/></$list>
|
|
</$link>
|
|
</$tiddler></$set></$set>
|