frontmatter: add groupid to notice shortcode
Some checks failed
docs-build-deployment / Run deploy (push) Has been cancelled
docs-build / Run build (push) Has been cancelled

This commit is contained in:
Sören Weber 2025-01-30 00:31:19 +01:00
parent db9ca5d295
commit c0f6af2b42
No known key found for this signature in database
GPG key ID: BEC6D55545451B6D
3 changed files with 15 additions and 3 deletions

View file

@ -1 +1 @@
7.3.2+df03dac58f35146443feb48374912e266ca4b2b7
7.3.2+db9ca5d2958a7e5956d4f37f6d79e8d2076b8381

View file

@ -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": "",

View file

@ -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": "",