mirror of
https://github.com/zadam/trilium.git
synced 2025-11-10 15:25:51 +01:00
autocomplete with prefixes
This commit is contained in:
@@ -22,7 +22,7 @@ async function showDialog() {
|
||||
const dateTime = utils.formatDateTime(utils.parseDate(event.dateAdded));
|
||||
|
||||
if (event.noteId) {
|
||||
const noteLink = linkService.createNoteLink(event.noteId).prop('outerHTML');
|
||||
const noteLink = await linkService.createNoteLink(event.noteId).prop('outerHTML');
|
||||
|
||||
event.comment = event.comment.replace('<note>', noteLink);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user