"content" : {
"type" : "Slice",
"fieldset" : "Content",
"description" : "The rich-text workhouse used in article bodies.",
"icon" : "text_fields",
"display" : "list",
"non-repeat" : {
"content" : {
"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" : "content",
"labels" : [ "caption" ]
}
}
},
"repeat" : { }
}
This above is the JSON for the slice (before any errors that come from clicking āAdd a sliceā. Only after I click āAdd a sliceā does the below JSON automatically appear.
"content": {
"type": "Slice",
"fieldset": "Content",
"description": "The rich-text workhouse used in article bodies.",
"icon": "text_fields",
"display": "list",
"non-repeat": {
"content": {
"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": "content",
"labels": {
"": [
{
"name": "caption"
}
]
}
}
}
},
"repeat": {}
}
Do you see how it updates the labels
? Is this error related to the move to the slice machine repo and utilizing the prismic UI instead of the slice machine CLI?