mirror of
https://github.com/Jermolene/TiddlyWiki5
synced 2025-01-05 15:00:27 +00:00
Fixed default text when editting hitherto missing tiddlers
This commit is contained in:
parent
c57d1efefe
commit
79a3941eca
@ -48,7 +48,7 @@ exports.macro = {
|
|||||||
storyRecord.title = "Draft of " + event.tiddlerTitle + " at " + (new Date());
|
storyRecord.title = "Draft of " + event.tiddlerTitle + " at " + (new Date());
|
||||||
storyRecord.template = template;
|
storyRecord.template = template;
|
||||||
var tiddler = this.store.getTiddler(event.tiddlerTitle);
|
var tiddler = this.store.getTiddler(event.tiddlerTitle);
|
||||||
this.store.addTiddler(new Tiddler(tiddler,{title: storyRecord.title, "draft.title": event.tiddlerTitle}));
|
this.store.addTiddler(new Tiddler({text: "Type the text for the tiddler '" + event.tiddlerTitle + "'"},tiddler,{title: storyRecord.title, "draft.title": event.tiddlerTitle}));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
this.store.addTiddler(new Tiddler(storyTiddler,{text: JSON.stringify(story)}));
|
this.store.addTiddler(new Tiddler(storyTiddler,{text: JSON.stringify(story)}));
|
||||||
|
Loading…
Reference in New Issue
Block a user