Don't show copy image in command palette (#190907)

#190773
This commit is contained in:
Matt Bierner 2023-08-22 14:14:24 -07:00 committed by GitHub
parent 0b13f1859c
commit 013600cf33
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -123,7 +123,8 @@
"commands": [
{
"command": "_markdown.copyImage",
"title": "%markdown.copyImage.title%"
"title": "%markdown.copyImage.title%",
"category": "Markdown"
},
{
"command": "markdown.showPreview",
@ -244,6 +245,10 @@
}
],
"commandPalette": [
{
"command": "_markdown.copyImage",
"when": "false"
},
{
"command": "markdown.showPreview",
"when": "editorLangId == markdown && !notebookEditorFocused",