mirror of
https://github.com/Jermolene/TiddlyWiki5
synced 2024-11-23 18:17:20 +00:00
Add variable indicating preview region
@felixhayashi does this do the trick for you?
This commit is contained in:
parent
16546a5e2e
commit
f42842f801
@ -24,9 +24,11 @@ tags: $:/tags/EditTemplate
|
|||||||
|
|
||||||
<div class="tc-tiddler-preview">
|
<div class="tc-tiddler-preview">
|
||||||
<div class="tc-tiddler-preview-preview">
|
<div class="tc-tiddler-preview-preview">
|
||||||
|
<$set name="tv-tiddler-preview" value="yes">
|
||||||
|
|
||||||
<$transclude />
|
<$transclude />
|
||||||
|
|
||||||
|
</$set>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="tc-tiddler-preview-edit">
|
<div class="tc-tiddler-preview-edit">
|
||||||
|
@ -129,6 +129,7 @@ Try it out
|
|||||||
* [[Added|https://github.com/Jermolene/TiddlyWiki5/commit/139496209f92d229feadf5c2883edec9090c0a0a]] support for custom elements to the ButtonWidget
|
* [[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
|
* [[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
|
* [[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
|
!! 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/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
|
* [[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
|
!! 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:
|
[[@Jermolene|https://github.com/Jermolene]] would like to thank the contributors to this release who have generously given their time to help improve TiddlyWiki:
|
||||||
|
@ -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.
|
||||||
|
|
Loading…
Reference in New Issue
Block a user