Last active
August 29, 2015 14:22
-
-
Save lamenath/0d3493a1498e350ce8a4 to your computer and use it in GitHub Desktop.
adding a label to a Content Slice in the document mask
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"Content" : { | |
"body" : { | |
"fieldset" : "Dynamic page zone...", | |
"type" : "Slices", | |
"config" : { | |
"labels" : { | |
"featured-items" : [ { | |
"name" : "full", | |
"display" : "Full featured" | |
}, { | |
"name" : "mini", | |
"display" : "Mini" | |
}, { | |
"name" : "preview", | |
"display" : "With preview" | |
}, { | |
"name" : "simple", | |
"display" : "Simple" | |
}, { | |
"name" : "largeblock", | |
"display" : "Large block" | |
} ] | |
}, | |
"choices" : { | |
"featured-items" : { | |
"type" : "Group", | |
"fieldset" : "Featured items", | |
"config" : { | |
"fields" : { | |
"illustration" : { | |
"type" : "Image", | |
"config" : { | |
"constraint" : { | |
"height" : 1200 | |
}, | |
"thumbnails" : [ { | |
"name" : "Icon", | |
"width" : 300, | |
"height" : 300 | |
} ] | |
} | |
}, | |
"title" : { | |
"type" : "StructuredText", | |
"config" : { | |
"single" : "heading3", | |
"placeholder" : "item title..." | |
} | |
}, | |
"summary" : { | |
"type" : "StructuredText", | |
"fieldset" : "Short Summary", | |
"config" : { | |
"placeholder" : "item summary...", | |
"single" : "paragraph" | |
} | |
}, | |
"read-more" : { | |
"type" : "Link", | |
"fieldset" : "Link to read more", | |
"config" : { | |
"select" : "document", | |
"masks" : [ "page" ], | |
"placeholder" : "Select a Read More page" | |
} | |
}, | |
"read-more-label" : { | |
"type" : "StructuredText", | |
"config" : { | |
"placeholder" : "Read more label" | |
} | |
} | |
} | |
} | |
} | |
} | |
} | |
} | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment