mirror of
https://github.com/zadam/trilium.git
synced 2025-11-06 21:36:05 +01:00
added global menu item to open new empty window + some refactoring
This commit is contained in:
@@ -114,7 +114,7 @@ function newTabContextMenu(e) {
|
||||
y: e.pageY,
|
||||
items: [
|
||||
{title: "Open note in new tab", command: "openNoteInNewTab", uiIcon: "arrow-up-right"},
|
||||
{title: "Open note in new window", command: "openNoteInNewWindow", uiIcon: "arrow-up-right"}
|
||||
{title: "Open note in new window", command: "openNoteInNewWindow", uiIcon: "window-open"}
|
||||
],
|
||||
selectMenuItemHandler: ({command}) => {
|
||||
if (command === 'openNoteInNewTab') {
|
||||
|
||||
Reference in New Issue
Block a user