Build your personal knowledge base with Trilium Notes
TypeScript electronelectron-appknowledge-baseknowledge-graphknowledge-managementknowledge-management-graphlocal-firstnote-managmentnote-takernote-takingnotebooknotesnotes-apppersonal-knowledge-basepersonal-wikiscriptableself-hostedself-hostingwiki
insert current date + time on alt+t
azivnerb57463d04950
diff --git a/static/js/init.js b/static/js/init.jsindex 91e4bbbaf6..0993985e3e 100644--- a/static/js/init.js+++ b/static/js/init.js@@ -160,4 +160,13 @@ $("#addLinkButton").click(function() {$(document).bind('keydown', 'alt+s', function() {$("input[name=search]").focus();+});++$(document).bind('keydown', 'alt+t', function() {+ const date = new Date();++ const dateString = date.getDate() + ". " + (date.getMonth() + 1) + ". " + date.getFullYear() + " " ++ date.getHours() + ":" + date.getMinutes();++ $('#noteDetail').summernote('insertText', dateString);});\ No newline at end of file