1
0
mirror of https://github.com/Jermolene/TiddlyWiki5 synced 2025-11-03 17:13:05 +00:00

Introduce template for single tiddler windows

Lets us include global macros etc.
This commit is contained in:
Jermolene
2015-05-03 14:58:33 +01:00
parent 41d5031279
commit fdeb8a925f
2 changed files with 33 additions and 1 deletions

View File

@@ -24,7 +24,7 @@ exports.startup = function() {
var refreshHandler,
title = event.param || event.tiddlerTitle,
paramObject = event.paramObject || {},
template = paramObject.template || "$:/core/ui/ViewTemplate/body",
template = paramObject.template || "$:/core/templates/single.tiddler.window",
width = paramObject.width || "700",
height = paramObject.height || "600";
// Open the window