hasCustomMarkdownPreview disables markdown preview buttons in context menus (#139241)

This commit is contained in:
Kaan Genç
2021-12-15 22:19:39 +00:00
committed by GitHub
parent 816490e268
commit ab2b080715

View File

@@ -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"
}
],