Closed erkenes closed 1 year ago
I've updated the PR. Now I'm using the basic syntax of neos.
The settings to hide or show a NodeType are now set in editorOptions.nodeTypes
.
'Neos.Form.Builder:StaticText': false
: hides this NodeType
'Foo.Bar.FormBuilder:Image': true
: shows the NodeType
With the complex synax:
nodeTypes:
'Foo.Bar.FormBuilder:Grid':
includeNodeType: false # hides this NodeType
includeChildNodes: true # shows the child-nodes
'Neos.Form.Builder:SelectOptionCollection':
includeNodeType: true # show this NodeType
includeChildNodes: false # hides all child-nodes
@bwaidelich Can you check the PR again please? :)
Hey, thanks for the reminder. I'm still a bit puzzled by the syntax, but that's probably mainly due to the fact that I have never used the insert placeholder feature (so far) and because I wasn't involved in its implementation. @dimaip is probably a much better person to judge
revoke this pr in favor of #128
Load all form-elements recursively. Check if the elements are allowed to shown in the Placeholder-Insert-Dropdown. Disallow
Neos.Form.Builder:ElementCollection
andNeos.Form.Builder:ValidatorCollection
by default. (The section is excluded in the yaml file)Resolves: #99