diff --git a/src/components/manage/Blocks/ImageCards/View.jsx b/src/components/manage/Blocks/ImageCards/View.jsx index 3adbb2c..f6b6cd1 100644 --- a/src/components/manage/Blocks/ImageCards/View.jsx +++ b/src/components/manage/Blocks/ImageCards/View.jsx @@ -53,21 +53,6 @@ const Cards = (props) => { const makeTextBody = (item) => ( <> - {/* - {item.title ? item.title : item.id} - {item.meta && {serializeNodes(item.meta)}} - {item.text && ( - {serializeNodes(item.text)} - )} - - {item.link && ( - - - - {item.linkTitle || item.link} - - - )} */}

{item.title ? item.title : item.id}

@@ -109,15 +94,7 @@ Cards.schema = () => ({ { id: 'default', title: 'Default', - fields: [ - 'title', - 'meta', - 'text', - 'attachedimage', - 'link', - 'linkTitle', - 'copyright', - ], + fields: ['title', 'text', 'attachedimage', 'link'], }, ], @@ -126,10 +103,6 @@ Cards.schema = () => ({ type: 'string', title: 'Title', }, - meta: { - widget: 'slate_richtext', - title: 'Meta data', - }, text: { widget: 'slate_richtext', title: 'Text', @@ -138,18 +111,10 @@ Cards.schema = () => ({ widget: 'url', title: 'Link', }, - linkTitle: { - type: 'string', - title: 'Link title', - }, attachedimage: { widget: 'attachedimage', title: 'Image', }, - copyright: { - widget: 'slate_richtext', - title: 'Copyright', - }, }, required: ['attachedimage'],