itoop
(Andre Hohmann)
October 10, 2018, 4:49am
1
Hallo,
when I edit an inline editable text field in my own content element, the editor is not shown.
In the template i set
<div class="projectdescription">
{neos:contentElement.editable(property: 'description')}
</div>
In Fusion i set
prototype(Itoop.Itoop:Project) < prototype(Neos.Neos:Content) {
description = ${q(node).property('description')}
}
And in NodeTypes.Document.Page.yaml I set
description:
type: string
defaultValue: 'Beschreibung'
ui:
inlineEditable: TRUE
Any idea why the editor is not shown?
Edit: Problem still exists. Maybe I have to update to neos-ui 1.4? In my composer.json I find "neos/neos-ui": "~1.3.0"
.
dbuecker
(damian buecker)
December 20, 2018, 5:01pm
2
Hello, found this in Slack from Johannes Steu
title = Neos.Fusion:Tag {
tagName = 'h1'
attributes.class = 'headline'
content = Neos.Neos:Editable {
block = false
node = ${documentNode}
property = 'title'
}
@process.contentElementWrapping {
expression = Neos.Neos:ContentElementWrapping
@position = 'end 999999999'
}
}
Worked for me!
itoop
(Andre Hohmann)
January 2, 2019, 5:32am
3
Hi damian,
thanks for your hint. In my case I don’t think it’s a good idea to add custom fusion code to archive what is officially supported, as one can see in the docs .
I can still confirm the problem in 4.2.3. But I’m not able anymore to edit the topic…?