mirror of
https://github.com/microsoft/vscode.git
synced 2026-04-25 11:08:51 +01:00
open image
This commit is contained in:
@@ -125,6 +125,11 @@
|
||||
"title": "%markdown.copyImage.title%",
|
||||
"category": "Markdown"
|
||||
},
|
||||
{
|
||||
"command": "_markdown.openImage",
|
||||
"title": "%markdown.openImage.title%",
|
||||
"category": "Markdown"
|
||||
},
|
||||
{
|
||||
"command": "markdown.showPreview",
|
||||
"title": "%markdown.preview.title%",
|
||||
@@ -189,7 +194,11 @@
|
||||
"webview/context": [
|
||||
{
|
||||
"command": "_markdown.copyImage",
|
||||
"when": "webviewId == 'markdown.preview' && webviewSection == 'image'"
|
||||
"when": "webviewId == 'markdown.preview' && (webviewSection == 'image' || webviewSection == 'localImage')"
|
||||
},
|
||||
{
|
||||
"command": "_markdown.openImage",
|
||||
"when": "webviewId == 'markdown.preview' && webviewSection == 'localImage'"
|
||||
}
|
||||
],
|
||||
"editor/title": [
|
||||
@@ -244,6 +253,10 @@
|
||||
}
|
||||
],
|
||||
"commandPalette": [
|
||||
{
|
||||
"command": "_markdown.openImage",
|
||||
"when": "false"
|
||||
},
|
||||
{
|
||||
"command": "_markdown.copyImage",
|
||||
"when": "false"
|
||||
|
||||
Reference in New Issue
Block a user