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 {