mirror of
https://github.com/zadam/trilium.git
synced 2025-11-09 23:05:51 +01:00
skeleton implementation of new "book" note type
This commit is contained in:
@@ -21,13 +21,15 @@ async function createNoteLink(notePath, noteTitle = null) {
|
||||
noteTitle = await treeUtils.getNoteTitle(noteId);
|
||||
}
|
||||
|
||||
const noteLink = $("<a>", {
|
||||
const $noteLink = $("<a>", {
|
||||
href: 'javascript:',
|
||||
text: noteTitle
|
||||
}).attr('data-action', 'note')
|
||||
.attr('data-note-path', notePath);
|
||||
|
||||
return noteLink;
|
||||
$noteLink.addClass("no-tooltip-preview");
|
||||
|
||||
return $noteLink;
|
||||
}
|
||||
|
||||
async function createNoteLinkWithPath(notePath, noteTitle = null) {
|
||||
|
||||
Reference in New Issue
Block a user