mirror of
https://github.com/TriliumNext/Notes.git
synced 2025-07-27 10:02:59 +08:00
fix(electron_context_menu): fix disabled search engine context menu on readonly notes
fixes #543
This commit is contained in:
parent
a715de6472
commit
a6206d2bd6
@ -115,7 +115,6 @@ function setupContextMenu() {
|
||||
items.push({ title: "----" });
|
||||
|
||||
items.push({
|
||||
enabled: editFlags.canPaste,
|
||||
title: t("electron_context_menu.search_online", { term: shortenedSelection, searchEngine: searchEngineName }),
|
||||
uiIcon: "bx bx-search-alt",
|
||||
handler: () => electron.shell.openExternal(searchUrl)
|
||||
|
Loading…
x
Reference in New Issue
Block a user