mirror of
https://github.com/zadam/trilium.git
synced 2025-11-08 14:25:51 +01:00
basic implementation of reference link functionality
This commit is contained in:
@@ -56,7 +56,7 @@ $form.on('submit', () => {
|
||||
if (notePath) {
|
||||
$dialog.modal('hide');
|
||||
|
||||
textTypeWidget.addLink($linkTitle.val(), '#' + notePath);
|
||||
textTypeWidget.addLink(notePath, $linkTitle.val());
|
||||
}
|
||||
else {
|
||||
console.error("No path to add link.");
|
||||
|
||||
Reference in New Issue
Block a user