Neos 4.1.7: Editor not shown when inline editing own content element


(Andre Hohmann) #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".


(damian buecker) #2

Hello, found this in Slack from Johannes Steu :slightly_smiling_face:

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!


(Andre Hohmann) #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…?