added: current tag by default on new note
This commit is contained in:
parent
89cb2f5482
commit
a38c7f9e58
2
main.js
2
main.js
|
@ -2766,7 +2766,7 @@ function defaultheaders(title, tags = "")
|
||||||
"---",
|
"---",
|
||||||
"title: " + title,
|
"title: " + title,
|
||||||
"date: " + timestamp().substr(0,10),
|
"date: " + timestamp().substr(0,10),
|
||||||
"tags: " + (tags || ""),
|
"tags: " + (tags || currenttag || ""),
|
||||||
"---",
|
"---",
|
||||||
"",""].join("\n");
|
"",""].join("\n");
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue