added: current tag by default on new note

This commit is contained in:
quenousimporte 2023-10-17 14:09:20 +02:00
parent 89cb2f5482
commit a38c7f9e58
1 changed files with 1 additions and 1 deletions

View File

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