Add thinglink and infogram blocks
This commit is contained in:
parent
6c2f414dc0
commit
262c9f1425
|
|
@ -63,6 +63,8 @@
|
||||||
const Instruction = () => import(/* webpackChunkName: "content-forms" */'@/components/content-blocks/Instruction');
|
const Instruction = () => import(/* webpackChunkName: "content-forms" */'@/components/content-blocks/Instruction');
|
||||||
const ModuleRoomSlug = () => import(/* webpackChunkName: "content-forms" */'@/components/content-blocks/ModuleRoomSlug');
|
const ModuleRoomSlug = () => import(/* webpackChunkName: "content-forms" */'@/components/content-blocks/ModuleRoomSlug');
|
||||||
const CmsDocumentBlock = () => import(/* webpackChunkName: "content-forms" */'@/components/content-blocks/CmsDocumentBlock');
|
const CmsDocumentBlock = () => import(/* webpackChunkName: "content-forms" */'@/components/content-blocks/CmsDocumentBlock');
|
||||||
|
const ThinglinkBlock = () => import(/* webpackChunkName: "content-forms" */'@/components/content-blocks/ThinglinkBlock');
|
||||||
|
const InfogramBlock = () => import(/* webpackChunkName: "content-forms" */'@/components/content-blocks/InfogramBlock');
|
||||||
|
|
||||||
const CHOOSER = 'content-block-element-chooser-widget';
|
const CHOOSER = 'content-block-element-chooser-widget';
|
||||||
|
|
||||||
|
|
@ -105,6 +107,8 @@
|
||||||
Instruction,
|
Instruction,
|
||||||
ModuleRoomSlug,
|
ModuleRoomSlug,
|
||||||
CmsDocumentBlock,
|
CmsDocumentBlock,
|
||||||
|
InfogramBlock,
|
||||||
|
ThinglinkBlock
|
||||||
},
|
},
|
||||||
|
|
||||||
computed: {
|
computed: {
|
||||||
|
|
@ -180,32 +184,42 @@
|
||||||
case 'survey':
|
case 'survey':
|
||||||
return {
|
return {
|
||||||
component: 'survey-block',
|
component: 'survey-block',
|
||||||
title: 'Umfrage'
|
title: 'Umfrage',
|
||||||
};
|
};
|
||||||
case 'solution':
|
case 'solution':
|
||||||
return {
|
return {
|
||||||
component: 'solution',
|
component: 'solution',
|
||||||
title: 'Lösung'
|
title: 'Lösung',
|
||||||
};
|
};
|
||||||
case 'image_block':
|
case 'image_block':
|
||||||
return {
|
return {
|
||||||
component: 'image-block',
|
component: 'image-block',
|
||||||
title: 'Bild'
|
title: 'Bild',
|
||||||
};
|
};
|
||||||
case 'instruction':
|
case 'instruction':
|
||||||
return {
|
return {
|
||||||
component: 'instruction',
|
component: 'instruction',
|
||||||
title: 'Instruktion'
|
title: 'Instruktion',
|
||||||
};
|
};
|
||||||
case 'module_room_slug':
|
case 'module_room_slug':
|
||||||
return {
|
return {
|
||||||
component: 'module-room-slug',
|
component: 'module-room-slug',
|
||||||
title: 'Raum'
|
title: 'Raum',
|
||||||
};
|
};
|
||||||
case 'cms_document_block':
|
case 'cms_document_block':
|
||||||
return {
|
return {
|
||||||
component: 'cms-document-block',
|
component: 'cms-document-block',
|
||||||
title: 'Dokument'
|
title: 'Dokument',
|
||||||
|
};
|
||||||
|
case 'thinglink_block':
|
||||||
|
return {
|
||||||
|
component: 'thinglink-block',
|
||||||
|
title: 'Illustration'
|
||||||
|
};
|
||||||
|
case 'infogram_block':
|
||||||
|
return {
|
||||||
|
component: 'infogram-block',
|
||||||
|
title: 'Illustration'
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
return {
|
return {
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue