diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/webview/contextMenu.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/webview/contextMenu.js b/src/webview/contextMenu.js index 195306fda..4f1984a5d 100644 --- a/src/webview/contextMenu.js +++ b/src/webview/contextMenu.js | |||
@@ -35,7 +35,7 @@ const buildMenuTpl = (props, suggestions) => { | |||
35 | id: 'cut', | 35 | id: 'cut', |
36 | role: can('Cut') ? 'cut' : '', | 36 | role: can('Cut') ? 'cut' : '', |
37 | enabled: can('Cut'), | 37 | enabled: can('Cut'), |
38 | visible: !!props.selectionText.trim(), | 38 | visible: !!props.selectionText.trim() && props.isEditable, |
39 | }, { | 39 | }, { |
40 | id: 'copy', | 40 | id: 'copy', |
41 | label: 'Copy', | 41 | label: 'Copy', |