added: current tag by default on new note
This commit is contained in:
parent
0da00302e0
commit
6a078efc5b
2
main.js
2
main.js
|
@ -2803,7 +2803,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