mirror of
https://github.com/microsoft/vscode.git
synced 2026-04-28 04:23:32 +01:00
hasCustomMarkdownPreview disables markdown preview buttons in context menus (#139241)
This commit is contained in:
@@ -126,14 +126,14 @@
|
||||
"explorer/context": [
|
||||
{
|
||||
"command": "markdown.showPreview",
|
||||
"when": "resourceLangId == markdown",
|
||||
"when": "resourceLangId == markdown && !hasCustomMarkdownPreview",
|
||||
"group": "navigation"
|
||||
}
|
||||
],
|
||||
"editor/title/context": [
|
||||
{
|
||||
"command": "markdown.showPreview",
|
||||
"when": "resourceLangId == markdown",
|
||||
"when": "resourceLangId == markdown && !hasCustomMarkdownPreview",
|
||||
"group": "1_open"
|
||||
}
|
||||
],
|
||||
|
||||
Reference in New Issue
Block a user