Flowpack.StructuredEditing
Flowpack.StructuredEditing copied to clipboard
FEATURE: secondary inspector
Heads up! Neos applies default configs to inspector editors. For inline editors we need to do it manually, e.g.
NodeType:
properties:
'chapterImage':
type: 'Neos\Media\Domain\Model\ImageInterface'
ui:
label: i18n
reloadIfChanged: true
inspector:
group: 'document'
help:
message: 'This image will also appear in the chapter menu.'
inline:
editor: 'Flowpack.StructuredEditing/EditorEnvelope'
editorOptions:
editor: 'Neos.Neos/Inspector/Editors/ImageEditor'
icon: icon-picture
maximumFileSize: null
features:
crop: true
upload: true
mediaBrowser: true
resize: false
crop:
aspectRatio:
options:
square:
width: 1
height: 1
label: Square
fourFive:
width: 4
height: 5
fiveSeven:
width: 5
height: 7
twoThree:
width: 2
height: 3
fourThree:
width: 4
height: 3
sixteenNine:
width: 16
height: 9
enableOriginal: true
allowCustom: true
locked:
width: 0
height: 0