RustyCMS: File-based headless CMS with REST API, admin UI, multilingual support
Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
24
types/html.json5
Normal file
24
types/html.json5
Normal file
@@ -0,0 +1,24 @@
|
||||
{
|
||||
// Corresponds to CF_HTML / Contentful_Html.ts
|
||||
name: "html",
|
||||
description: "Raw HTML content block with optional layout",
|
||||
tags: ["content", "component"],
|
||||
category: "components",
|
||||
fields: {
|
||||
id: {
|
||||
type: "string",
|
||||
required: true,
|
||||
description: "Unique component ID",
|
||||
},
|
||||
html: {
|
||||
type: "html",
|
||||
required: true,
|
||||
description: "HTML content (safely embedded)",
|
||||
},
|
||||
layout: {
|
||||
type: "object",
|
||||
useFields: "component_layout",
|
||||
description: "Column width (grid) like CF_ComponentLayout",
|
||||
},
|
||||
},
|
||||
}
|
||||
Reference in New Issue
Block a user