Stop following links in backend


on my page are some div blocks with background image, text and a hyperlink to the whole div. it is difficult to edit the text in the backend because it is necessary to remove the link first, otherwise it is not possible to put the cursor on the editing of the text.

Is there a way to disable following the link in the backend?

Hi Stefan and welcome back to the forum :wink:

We usually don’t render such links if the Neos is in backend context. I don’t know your exact structure and whether you use Fusion AFX or Fluid, but I guess you could adapt the following sample:

prototype(Your.Site:Teaser) < prototype(Neos.Fusion:Component) {
    title = Neos.Neos:Editable {
        property = 'title'

    linkUri = ${q(node).property('link')}
    linkUri.@process.convertUris = Neos.Neos:ConvertUris {
        forceConversion = true
    linkUri.@if.notInBackend = ${!node.context.inBackend}

    renderer = afx`
        <a href={props.linkUri}>

This is just a simple sample. Depending on the way of your construct, you could also omit rendering the <a> tag at all.

1 Like

Hi Lorenz,

thanks a lot. I can’t understand your answer. Here is my stucture:

When I insert
linkUri.@if.notInBackend = ${!node.context.inBackend}
nothing changes. They’re still hyperlinks in the backend.

Yours should be title.@if.notInBackend = ...

Thanks, this works for me.

prototype(Ws.Fshsite:HomeGrid) < prototype(Neos.Neos:Content) {
    link1.@process.convertUris = Neos.Neos:ConvertUris {
        forceConversion = true