From 064f2ea40b8228284c63e33150a6295493fc9180 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 7c93998..8183395 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 {