mirror of
https://github.com/Jermolene/TiddlyWiki5
synced 2025-01-23 07:26:54 +00:00
Better titles for drafts of new tiddlers
This commit is contained in:
parent
8ca7368200
commit
5b6376a386
@ -232,7 +232,7 @@ NavigatorWidget.prototype.handleNewTiddlerEvent = function(event) {
|
||||
});
|
||||
this.renderer.renderTree.wiki.addTiddler(tiddler);
|
||||
// Create the draft tiddler
|
||||
var draftTitle = "New Tiddler at " + (new Date()),
|
||||
var draftTitle = this.generateDraftTitle(title),
|
||||
draftTiddler = new $tw.Tiddler({
|
||||
text: "Type the text for the new tiddler",
|
||||
title: draftTitle,
|
||||
|
Loading…
Reference in New Issue
Block a user