Update 02.10.2020
This commit is contained in:
parent
ae7a864bb7
commit
064f2ea40b
@ -14,11 +14,12 @@
|
|||||||
CMS.registerEditorComponent({
|
CMS.registerEditorComponent({
|
||||||
id: "gallery",
|
id: "gallery",
|
||||||
label: "Bildergallerie",
|
label: "Bildergallerie",
|
||||||
fields: {
|
fields: [{
|
||||||
name: "dir",
|
name: "dir",
|
||||||
label: "Ordner",
|
label: "Ordner",
|
||||||
widget: "string"
|
widget: "string"
|
||||||
},
|
},
|
||||||
|
],
|
||||||
pattern: /{{< gallery dir="([a-zA-Z0-9]+)" >}}/,
|
pattern: /{{< gallery dir="([a-zA-Z0-9]+)" >}}/,
|
||||||
fromBlock: function(match) {
|
fromBlock: function(match) {
|
||||||
return {
|
return {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user