We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 7751c17 commit 18040d4Copy full SHA for 18040d4
src/webview/contextMenu.js
@@ -35,7 +35,7 @@ const buildMenuTpl = (props, suggestions) => {
35
id: 'cut',
36
role: can('Cut') ? 'cut' : '',
37
enabled: can('Cut'),
38
- visible: !!props.selectionText.trim(),
+ visible: !!props.selectionText.trim() && props.isEditable,
39
}, {
40
id: 'copy',
41
label: 'Copy',
0 commit comments