Skip to content

Commit

Permalink
FEATURE: Add missing definition for child node presets
Browse files Browse the repository at this point in the history
  • Loading branch information
Sebobo committed Jul 16, 2024
1 parent 031f516 commit 36bd5dd
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 1 deletion.
9 changes: 8 additions & 1 deletion NodeTypes.Schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -1479,7 +1479,14 @@
]
},
"options": {
"type": "object"
"type": "object",
"additionalProperties": true,
"properties": {
"preset": {
"type": "string",
"description": "A child node preset as configured in `Neos.Neos.nodeTypes.presets.childNodes`."
}
}
},
"constraints": {
"type": "object",
Expand Down
3 changes: 3 additions & 0 deletions examples/NodeTypes.WithChildren.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,3 +9,6 @@ My.Vendor:Document.Simple:
constraints:
nodeTypes:
Neos.Neos:Content: true
footer:
options:
preset: 'footer'

0 comments on commit 36bd5dd

Please sign in to comment.