From 4dd2b38faae71aeb64e55dacbb45c00b9af855c8 Mon Sep 17 00:00:00 2001 From: Jermolene Date: Mon, 23 Feb 2015 11:28:36 +0100 Subject: [PATCH] Make tiddler frames clickable 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. --- core/ui/ViewTemplate.tid | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/core/ui/ViewTemplate.tid b/core/ui/ViewTemplate.tid index 7d6bc230b..7bbc89281 100644 --- a/core/ui/ViewTemplate.tid +++ b/core/ui/ViewTemplate.tid @@ -3,6 +3,6 @@ title: $:/core/ui/ViewTemplate \define frame-classes() tc-tiddler-frame tc-tiddler-view-frame $(missingTiddlerClass)$ $(shadowTiddlerClass)$ $(systemTiddlerClass)$ $(tiddlerTagClasses)$ \end -<$set name="storyTiddler" value=<>><$set name="tiddlerInfoState" value=<>><$tiddler tiddler=<>>
>><$list filter="[all[shadows+tiddlers]tag[$:/tags/ViewTemplate]!has[draft.of]]" variable="listItem"><$transclude tiddler=<>/> -
+<$set name="storyTiddler" value=<>><$set name="tiddlerInfoState" value=<>><$tiddler tiddler=<>><$link tag="div" draggable="no" tabindex="1" class=<>><$list filter="[all[shadows+tiddlers]tag[$:/tags/ViewTemplate]!has[draft.of]]" variable="listItem"><$transclude tiddler=<>/> +