Hey
We have a project that uses labels. We only have one label and we added it in the model.json on that slice, looks like this.
{
"id": "content",
"type": "SharedSlice",
"name": "Content",
"description": "Content",
"variations": [
{
"id": "default-slice",
"name": "Default slice",
"docURL": "...",
"version": "sktwi1xtmkfgx8626",
"description": "Content",
"primary": {
"title": {
"type": "StructuredText",
"config": {
"label": "Title",
"placeholder": "This is where it all begins...",
"allowTargetBlank": true,
"single": "heading2"
}
},
"text": {
"type": "StructuredText",
"config": {
"label": "Text",
"placeholder": "A nice description of your product",
"allowTargetBlank": true,
"multi": "paragraph,heading3,strong,em,hyperlink,list-item,heading4,heading5,heading6,image",
"labels": ["list-item-line", "list-item-circle"]
}
}
},
"items": {}
}
]
}
The list-item-line is the old one that works and show in the UI but the new label im trying to add list-item-circle it dont show up as a label in the UI. I have pushed the slice and everything from slicemachine.
Do you know why this is? What can I do to make it work? This it the prismic api https://bravura-web.cdn.prismic.io/api/v2
Regards Victor