mirror of
https://github.com/Jermolene/TiddlyWiki5
synced 2024-11-15 06:14:53 +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.template = template;
|
||||
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)}));
|
||||
|
Loading…
Reference in New Issue
Block a user