added: current tag by default on new note

This commit is contained in:
quenousimporte 2023-10-17 14:09:20 +02:00
parent 0da00302e0
commit 6a078efc5b
1 changed files with 1 additions and 1 deletions

View File

@ -2803,7 +2803,7 @@ function defaultheaders(title, tags = "")
"---",
"title: " + title,
"date: " + timestamp().substr(0,10),
"tags: " + (tags || ""),
"tags: " + (tags || currenttag || ""),
"---",
"",""].join("\n");
}