From dc94c938590fceeae02c16580f374fa34946ed6f Mon Sep 17 00:00:00 2001 From: Denys Konovalov Date: Fri, 2 Oct 2020 15:32:22 +0200 Subject: [PATCH] Update 02.10.2020 --- static/admin/index.html | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/static/admin/index.html b/static/admin/index.html index 7c939980..8183395d 100644 --- a/static/admin/index.html +++ b/static/admin/index.html @@ -14,11 +14,12 @@ CMS.registerEditorComponent({ id: "gallery", label: "Bildergallerie", - fields: { + fields: [{ name: "dir", label: "Ordner", widget: "string" }, + ], pattern: /{{< gallery dir="([a-zA-Z0-9]+)" >}}/, fromBlock: function(match) { return {