mirror of
https://github.com/zadam/trilium.git
synced 2025-11-11 07:45:51 +01:00
wip attachment support
This commit is contained in:
@@ -27,7 +27,7 @@ export default class NoteLauncher extends AbstractLauncher {
|
||||
|
||||
const hoistedNoteId = this.getHoistedNoteId();
|
||||
|
||||
linkContextMenuService.openContextMenu(targetNoteId, hoistedNoteId, evt);
|
||||
linkContextMenuService.openContextMenu(targetNoteId, evt, {}, hoistedNoteId);
|
||||
});
|
||||
}
|
||||
|
||||
|
||||
@@ -13,7 +13,7 @@ export default class OpenNoteButtonWidget extends OnClickButtonWidget {
|
||||
.icon(() => this.noteToOpen.getIcon())
|
||||
.onClick((widget, evt) => this.launch(evt))
|
||||
.onAuxClick((widget, evt) => this.launch(evt))
|
||||
.onContextMenu(evt => linkContextMenuService.openContextMenu(this.noteToOpen.noteId, null, evt));
|
||||
.onContextMenu(evt => linkContextMenuService.openContextMenu(this.noteToOpen.noteId, evt));
|
||||
}
|
||||
|
||||
async launch(evt) {
|
||||
|
||||
Reference in New Issue
Block a user