mirror of
				https://github.com/zadam/trilium.git
				synced 2025-10-31 10:26:08 +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. |             // Replace the placeholder with the real search keyword. | ||||||
|             let searchUrl = searchEngineUrl.replace("{keyword}", encodeURIComponent(params.selectionText)); |             let searchUrl = searchEngineUrl.replace("{keyword}", encodeURIComponent(params.selectionText)); | ||||||
|  |  | ||||||
|  |             items.push({title: "----"}); | ||||||
|  |  | ||||||
|             items.push({ |             items.push({ | ||||||
|                 enabled: editFlags.canPaste, |                 enabled: editFlags.canPaste, | ||||||
|                 title: `Search for "${shortenedSelection}" with ${searchEngineName}`, |                 title: `Search for "${shortenedSelection}" with ${searchEngineName}`, | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user