Hi Levi,
Thanks for your reply.
This is what you’ve asked (and more):
JSON:
{
“Main” : {
“title” : {
“type” : “StructuredText”,
“config” : {
“single” : “heading1”,
“label” : “title”,
“placeholder” : “Title”
}
},
“uid” : {
“type” : “UID”,
“config” : {
“label” : “url”
}
},
“summary” : {
“type” : “StructuredText”,
“config” : {
“multi” : “paragraph, preformatted, heading1, heading2, heading3, heading4, heading5, heading6, strong, em, hyperlink, image, embed, list-item, o-list-item, o-list-item”,
“allowTargetBlank” : true,
“label” : “Summary”,
“placeholder” : “A short description of this article”
}
},
“body” : {
“type” : “Slices”,
“fieldset” : “Slice zone”,
“config” : {
“labels” : {
“section” : [ {
“name” : “accordion”,
“display” : “accordion”
} ],
“section_-_static” : [ {
“name” : “static”,
“display” : “static”
} ]
},
“choices” : {
“section” : {
“type” : “Slice”,
“fieldset” : “Accordion”,
“description” : “A section, with accordion effect, of the article with title and text”,
“icon” : “text_fields”,
“display” : “list”,
“non-repeat” : {
“title_accordion” : {
“type” : “StructuredText”,
“config” : {
“single” : “heading1, heading2, heading3, heading4, heading5, heading6”,
“label” : “Section title - accordion”,
“placeholder” : “Title”
}
},
“content_accordion” : {
“type” : “StructuredText”,
“config” : {
“multi” : “paragraph, preformatted, heading1, heading2, heading3, heading4, heading5, heading6, strong, em, hyperlink, image, embed, list-item, o-list-item, o-list-item”,
“allowTargetBlank” : true,
“label” : “Section content - accordion”,
“placeholder” : “Content”
}
}
},
“repeat” : { }
},
“section_-_static” : {
“type” : “Slice”,
“fieldset” : “Static”,
“description” : “A section, always interaly visible, with title and text”,
“icon” : “text_fields”,
“display” : “list”,
“non-repeat” : {
“title_static” : {
“type” : “StructuredText”,
“config” : {
“single” : “heading1, heading2, heading3, heading4, heading5, heading6”,
“label” : “Section title - static”,
“placeholder” : “Title”
}
},
“content_static” : {
“type” : “StructuredText”,
“config” : {
“multi” : “paragraph, preformatted, heading1, heading2, heading3, heading4, heading5, heading6, strong, em, hyperlink, image, embed, list-item, o-list-item, o-list-item”,
“allowTargetBlank” : true,
“label” : “Section content - static”,
“placeholder” : “Content”
}
}
},
“repeat” : { }
}
}
}
}
}
}
More details are in the email I’ve sent you (private).
Thank you,
Alessandro