blocks: [
{
id: 'hi',
label: 'Customer',
media: ``,
// Use `image` component
content: { type:'text'},
// The component `image` is activatable (shows the Asset Manager).
// We want to activate it once dropped in the canvas.
activate: true,
// select: true, // Default with `activate: true``
model: {
// Default properties
defaults: {
tagName: 'input',
draggable: 'form, form *', // Can be dropped only inside `form` elements
droppable: false, // Can't drop other elements inside
attributes: { // Default attributes
type: 'text',
name: 'default-name'
}
}
},
}
],
How to add text and image as type in this block. So that i can drag and drop a component with both text and image in it? ..content: { type:'text','image'}...