autocomplete with prefixes

This commit is contained in:
azivner
2018-04-19 20:59:44 -04:00
parent 5ffd621e9d
commit 85eb50ed0f
6 changed files with 84 additions and 45 deletions

View File

@@ -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);
}