From c0f6af2b423bb063ce6339883fb1e6e31b8df866 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=B6ren=20Weber?= Date: Thu, 30 Jan 2025 00:31:19 +0100 Subject: [PATCH] frontmatter: add groupid to notice shortcode --- layouts/partials/version.txt | 2 +- vscode-frontmatter/snippets.de.json | 8 +++++++- vscode-frontmatter/snippets.en.json | 8 +++++++- 3 files changed, 15 insertions(+), 3 deletions(-) diff --git a/layouts/partials/version.txt b/layouts/partials/version.txt index 90cd592ca2..469844eabe 100644 --- a/layouts/partials/version.txt +++ b/layouts/partials/version.txt @@ -1 +1 @@ -7.3.2+df03dac58f35146443feb48374912e266ca4b2b7 \ No newline at end of file +7.3.2+db9ca5d2958a7e5956d4f37f6d79e8d2076b8381 \ No newline at end of file diff --git a/vscode-frontmatter/snippets.de.json b/vscode-frontmatter/snippets.de.json index 4e8abaafab..f46e32059f 100644 --- a/vscode-frontmatter/snippets.de.json +++ b/vscode-frontmatter/snippets.de.json @@ -293,7 +293,7 @@ ] }, "Notice": { - "body": ["{{% notice title=\"[[&title]]\" style=\"[[&style]]\" color=\"[[&color]]\" icon=\"[[&icon]]\" expanded=\"[[&expanded]]\" %}}[[&content]]{{% /notice %}}"], + "body": ["{{% notice title=\"[[&title]]\" style=\"[[&style]]\" color=\"[[&color]]\" icon=\"[[&icon]]\" groupid=\"[[&groupid]]\" expanded=\"[[&expanded]]\" %}}[[&content]]{{% /notice %}}"], "description": "Zeigt eine konfigurierbare Text-Box an", "fields": [ { @@ -327,6 +327,12 @@ "title": "Font Awesome Icon", "type": "string" }, + { + "default": "", + "name": "groupid", + "title": "Expandierbare Text-Boxen mit der gleiche ID synchronisieren ihren Zustand", + "type": "string" + }, { "choices": ["", "false", "true"], "default": "", diff --git a/vscode-frontmatter/snippets.en.json b/vscode-frontmatter/snippets.en.json index ea2d2d29c8..b749d9e7ba 100644 --- a/vscode-frontmatter/snippets.en.json +++ b/vscode-frontmatter/snippets.en.json @@ -293,7 +293,7 @@ ] }, "Notice": { - "body": ["{{% notice title=\"[[&title]]\" style=\"[[&style]]\" color=\"[[&color]]\" icon=\"[[&icon]]\" expanded=\"[[&expanded]]\" %}}[[&content]]{{% /notice %}}"], + "body": ["{{% notice title=\"[[&title]]\" style=\"[[&style]]\" color=\"[[&color]]\" icon=\"[[&icon]]\" groupid=\"[[&groupid]]\" expanded=\"[[&expanded]]\" %}}[[&content]]{{% /notice %}}"], "description": "Displays a configurable box of text", "fields": [ { @@ -327,6 +327,12 @@ "title": "Font Awesome icon", "type": "string" }, + { + "default": "", + "name": "groupid", + "title": "Expandable boxes with the same ID synchronize their state", + "type": "string" + }, { "choices": ["", "false", "true"], "default": "",