generated from inherentlee/11ty
138 lines
2.7 KiB
JSON
138 lines
2.7 KiB
JSON
|
|
{
|
||
|
|
"fields": [
|
||
|
|
{
|
||
|
|
"type": "text",
|
||
|
|
"default": null,
|
||
|
|
"icon": "text-input",
|
||
|
|
"key": "title",
|
||
|
|
"label": "Title",
|
||
|
|
"localised": false,
|
||
|
|
"options": {
|
||
|
|
"wrapping": true,
|
||
|
|
"multiline": false
|
||
|
|
},
|
||
|
|
"tab": "data",
|
||
|
|
"validation": {
|
||
|
|
"enforceMinMax": true,
|
||
|
|
"max": null,
|
||
|
|
"min": null,
|
||
|
|
"regex": null,
|
||
|
|
"regexError": null,
|
||
|
|
"required": true,
|
||
|
|
"unit": "length"
|
||
|
|
},
|
||
|
|
"value": null,
|
||
|
|
"version": 1,
|
||
|
|
"visibility": {
|
||
|
|
"hidden": false,
|
||
|
|
"showByValue": {
|
||
|
|
"field": null
|
||
|
|
}
|
||
|
|
}
|
||
|
|
},
|
||
|
|
{
|
||
|
|
"type": "image",
|
||
|
|
"default": null,
|
||
|
|
"icon": "image",
|
||
|
|
"key": "hero",
|
||
|
|
"label": "Hero image",
|
||
|
|
"options": {
|
||
|
|
"resolutionHint": "",
|
||
|
|
"removable": true,
|
||
|
|
"simple": false
|
||
|
|
},
|
||
|
|
"tab": "data",
|
||
|
|
"validation": {
|
||
|
|
"max": null,
|
||
|
|
"required": false,
|
||
|
|
"unit": "filesize (MB)"
|
||
|
|
},
|
||
|
|
"value": null,
|
||
|
|
"version": 1,
|
||
|
|
"visibility": {
|
||
|
|
"hidden": false,
|
||
|
|
"showByValue": {
|
||
|
|
"field": null
|
||
|
|
}
|
||
|
|
}
|
||
|
|
},
|
||
|
|
{
|
||
|
|
"type": "rich text",
|
||
|
|
"default": null,
|
||
|
|
"icon": "text",
|
||
|
|
"key": "content",
|
||
|
|
"label": "Body",
|
||
|
|
"localised": false,
|
||
|
|
"options": {
|
||
|
|
"outputFormat": "markdown",
|
||
|
|
"blockFormats": [
|
||
|
|
"blockquote",
|
||
|
|
"heading",
|
||
|
|
"hr",
|
||
|
|
"orderedList",
|
||
|
|
"unorderedList",
|
||
|
|
"image",
|
||
|
|
"codeBlock"
|
||
|
|
],
|
||
|
|
"inlineFormats": [
|
||
|
|
"em",
|
||
|
|
"strong",
|
||
|
|
"link",
|
||
|
|
"code",
|
||
|
|
"strike"
|
||
|
|
],
|
||
|
|
"formatOptions": [
|
||
|
|
"allowQuoteFooters",
|
||
|
|
"allowNestedLists",
|
||
|
|
"allowImageCaptions"
|
||
|
|
],
|
||
|
|
"inputRuleOptions": [
|
||
|
|
"autoquotes",
|
||
|
|
"dashes",
|
||
|
|
"ellipsis",
|
||
|
|
"noDoubleCaps",
|
||
|
|
"noDoubleSpace"
|
||
|
|
],
|
||
|
|
"minHeading": 2,
|
||
|
|
"maxHeading": 4,
|
||
|
|
"codeLangs": [
|
||
|
|
"html",
|
||
|
|
"css",
|
||
|
|
"javascript",
|
||
|
|
"markdown"
|
||
|
|
],
|
||
|
|
"allowRaw": false,
|
||
|
|
"urlTemplate": "/:title/",
|
||
|
|
"urlSuffix": "",
|
||
|
|
"linkOptions": [
|
||
|
|
"allowExternal",
|
||
|
|
"allowInternal"
|
||
|
|
]
|
||
|
|
},
|
||
|
|
"tab": "data",
|
||
|
|
"validation": {
|
||
|
|
"enforceMinMax": true,
|
||
|
|
"max": null,
|
||
|
|
"min": null,
|
||
|
|
"regex": null,
|
||
|
|
"regexError": null,
|
||
|
|
"required": true,
|
||
|
|
"unit": "length"
|
||
|
|
},
|
||
|
|
"value": null,
|
||
|
|
"version": 1,
|
||
|
|
"visibility": {
|
||
|
|
"hidden": false,
|
||
|
|
"showByValue": {
|
||
|
|
"field": null
|
||
|
|
}
|
||
|
|
}
|
||
|
|
}
|
||
|
|
],
|
||
|
|
"tabs": [
|
||
|
|
{
|
||
|
|
"label": "data",
|
||
|
|
"groupAs": null
|
||
|
|
}
|
||
|
|
]
|
||
|
|
}
|