[Neos] Re: Inline Editable Page Property
Stéphane Wecker
stephane.wecker at openbridge.fr
Fri Mar 21 09:34:48 CET 2014
Hello,
I've the same issue when I try to extend TYPO3.Neos.NodeTypes:Text
I add a checkbox named "boxed".
If the checkbox is checked, I can edit the text.
But when it's not, the default text is not selectable.
The html classes seems to be the same in both case.
My NodeTypes.yaml :
-----------------------------
##
# Adjust the "Text" node type:
# Add wrap option
#
'TYPO3.Neos.NodeTypes:Text':
ui:
inspector:
groups:
boxed:
label: 'Boxed'
position: 2
properties:
boxed:
type: boolean
defaultValue: FALSE
ui:
label: 'Boxed ?'
reloadIfChanged: TRUE
inspector:
group: 'boxed'
The typoscript in Root.ts :
------------------------------------
prototype(TYPO3.Neos:Text) {
templatePath = 'resource://TYPO3.NeosDemoTypo3Org/Private/Templates/TypoScriptObjects/Text.html'
boxed = ${q(node).property('boxed')}
text = ${q(node).property('text')}
}
More information about the Neos
mailing list