Skip to content

Instantly share code, notes, and snippets.

@rudyrigot
Created March 28, 2014 22:16
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save rudyrigot/9844115 to your computer and use it in GitHub Desktop.
Save rudyrigot/9844115 to your computer and use it in GitHub Desktop.
JSON mask for the "staff" content type in the front-end-only example
{
"Main" : {
"name" : {
"fieldset" : "Full name",
"type" : "StructuredText",
"config" : {
"single" : "heading1"
}
},
"title" : {
"fieldset" : "Title",
"type" : "StructuredText",
"config" : {
"single" : "heading2"
}
},
"image" : {
"fieldset" : "Photo",
"type" : "Image"
},
"quote" : {
"fieldset" : "Quote",
"type" : "StructuredText"
},
"mail" : {
"fieldset" : "Email address",
"type" : "Text"
},
"twitter" : {
"fieldset" : "Twitter URL",
"type" : "Link",
"config" : {
"select" : "web"
}
},
"facebook" : {
"fieldset" : "Facebook URL",
"type" : "Link",
"config" : {
"select" : "web"
}
},
"linkedin" : {
"fieldset" : "LinkedIn URL",
"type" : "Link",
"config" : {
"select" : "web"
}
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment