diff --git a/core/ui/EditTemplate/body.tid b/core/ui/EditTemplate/body.tid index 444aa63c0..24932c16e 100644 --- a/core/ui/EditTemplate/body.tid +++ b/core/ui/EditTemplate/body.tid @@ -24,9 +24,11 @@ tags: $:/tags/EditTemplate
+<$set name="tv-tiddler-preview" value="yes"> <$transclude /> +
diff --git a/editions/tw5.com/tiddlers/releasenotes/Release 5.1.9.tid b/editions/tw5.com/tiddlers/releasenotes/Release 5.1.9.tid index dc0951049..98bbd91ef 100644 --- a/editions/tw5.com/tiddlers/releasenotes/Release 5.1.9.tid +++ b/editions/tw5.com/tiddlers/releasenotes/Release 5.1.9.tid @@ -129,6 +129,7 @@ Try it out * [[Added|https://github.com/Jermolene/TiddlyWiki5/commit/139496209f92d229feadf5c2883edec9090c0a0a]] support for custom elements to the ButtonWidget * [[Improved|https://github.com/Jermolene/TiddlyWiki5/commit/d8366cc45f25d16c9085e05ee18965e626e218ff]] CodeMirror plugin to automatically refresh when a tiddler type changes * [[Added|https://github.com/Jermolene/TiddlyWiki5/commit/0d5033e2a00e34a7665c2cff58c0d15da224dd2b]] new setting in $:/ControlPanel to render tiddler titles as links, which can be convenient for drag and drop +* [[Simplified|]] detecting the preview pane with the [[tv-tiddler-preview Variable]] !! Bug Fixes @@ -136,12 +137,6 @@ Try it out * [[Fixed|https://github.com/Jermolene/TiddlyWiki5/commit/230f40c3bd71177eb7b1f7e8252a5164e99a12c5]] static banner layout on mobile devices * [[Fixed|https://github.com/Jermolene/TiddlyWiki5/commit/df84e932833b3643ce600499ddd5fef497bec908]] popups within the scrollable widget by adding `position: relative;` to example scrollable widget styles -!! Node.js Changes - -//These changes are only relevant to those using TiddlyWiki under Node.js// - -* - !! Contributors [[@Jermolene|https://github.com/Jermolene]] would like to thank the contributors to this release who have generously given their time to help improve TiddlyWiki: diff --git a/editions/tw5.com/tiddlers/variables/tv-wikilink-tooltip.tid copy b/editions/tw5.com/tiddlers/variables/tv-wikilink-tooltip.tid copy new file mode 100644 index 000000000..e8fdefc07 --- /dev/null +++ b/editions/tw5.com/tiddlers/variables/tv-wikilink-tooltip.tid copy @@ -0,0 +1,11 @@ +created: 20150620082727484 +modified: 20150620082727484 +title: tv-tiddler-preview Variable +tags: Variables [[Core Variables]] +type: text/vnd.tiddlywiki +caption: tv-tiddler-preview + +The <<.def tv-tiddler-preview>> [[variable|Variables]] indicates whether content is being rendered in a tiddler preview panel. + +The value is ''yes'' within the preview panel, and undefined elsewhere. +