diff --git a/index.js b/index.js index d0a6b9a..5087a55 100644 --- a/index.js +++ b/index.js @@ -129,7 +129,7 @@ const create = (win, options) => { } }), lookUpSelection: decorateMenuItem({ - id: 'lookUpWord', + id: 'lookUpSelection', label: `Look Up “${cliTruncate(props.selectionText.trim(), 25)}”`, visible: process.platform === 'darwin' && hasText, click() { diff --git a/readme.md b/readme.md index 76c88de..20509c8 100644 --- a/readme.md +++ b/readme.md @@ -147,6 +147,7 @@ Even though you include an action, it will still only be shown/enabled when appr The following options are ignored when `menu` is used: +- `showLookUpSelection` - `showCopyImageAddress` - `showSaveImageAs` - `showInspectElement` @@ -154,6 +155,7 @@ The following options are ignored when `menu` is used: Default actions: - `separator` +- `lookUpSelection` - `cut` - `copy` - `paste`