Skip to content

Build your personal knowledge base with Trilium Notes

fix - link label set explicitly was not respected

azivnerb22d55c1836f
diff --git a/static/js/init.js b/static/js/init.js
index 210a28260d..a0b905a335 100644
--- a/static/js/init.js
+++ b/static/js/init.js
@@ -148,7 +148,7 @@ $("#addLinkButton").click(function() {
noteDetail.summernote('editor.restoreRange');
noteDetail.summernote('createLink', {
- text: globalNoteNames[noteId],
+ text: linkTitle,
url: 'app#' + noteId,
isNewWindow: true
});