From f350d4af91a4e1b8a581d7841f59ae48d3db7754 Mon Sep 17 00:00:00 2001 From: Elio Struyf Date: Fri, 1 Dec 2023 10:34:26 +0100 Subject: [PATCH] #718 - Fix JSON schema --- CHANGELOG.md | 1 + package.json | 21 ++++++++++++--------- 2 files changed, 13 insertions(+), 9 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 2174fd3d..c62f7185 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -37,6 +37,7 @@ - [#711](https://github.com/estruyf/vscode-front-matter/issues/711): Fix in character mapping in the slug field - [#712](https://github.com/estruyf/vscode-front-matter/issues/712): Keep the search context when deleting media files - [#714](https://github.com/estruyf/vscode-front-matter/issues/714): Fix for taxonomy filtering from taxonomy view to content view +- [#718](https://github.com/estruyf/vscode-front-matter/issues/718): Fix JSON schema for the `frontMatter.panel.actions.disabled` setting ## [9.3.1] - 2023-10-27 diff --git a/package.json b/package.json index 37f2f0e9..dc43ec26 100644 --- a/package.json +++ b/package.json @@ -994,15 +994,18 @@ "type": "array", "default": [], "markdownDescription": "%setting.frontMatter.panel.actions.disabled.markdownDescription%", - "enum": [ - "openDashboard", - "createContent", - "optimizeSlug", - "preview", - "openOnWebsite", - "startStopServer", - "customActions" - ] + "items": { + "type": "string", + "enum": [ + "openDashboard", + "createContent", + "optimizeSlug", + "preview", + "openOnWebsite", + "startStopServer", + "customActions" + ] + } }, "frontMatter.preview.host": { "type": "string",