mirror of
https://github.com/zadam/trilium.git
synced 2025-10-26 07:46:30 +01:00
Add a separator to the editor's context menu running under Electron
This commit is contained in:
@@ -106,6 +106,8 @@ function setupContextMenu() {
|
||||
// Replace the placeholder with the real search keyword.
|
||||
let searchUrl = searchEngineUrl.replace("{keyword}", encodeURIComponent(params.selectionText));
|
||||
|
||||
items.push({title: "----"});
|
||||
|
||||
items.push({
|
||||
enabled: editFlags.canPaste,
|
||||
title: `Search for "${shortenedSelection}" with ${searchEngineName}`,
|
||||
|
||||
Reference in New Issue
Block a user