Commit e17c6d42 authored by Dominique Feyer's avatar Dominique Feyer
Browse files

BUGFIX: Wrong detection of content node for the teaser feature

parent a7a02814
......@@ -51,7 +51,6 @@
type: string
defaultValue: 'Enter a teaser here'
label: 'Teaser text'
inlineEditable: true
prototype(Ttree.News:AbstractNews) < prototype(Neos.Neos:Content) {
firstContentNode = ${q(node).children('main').find('[instanceof Neos.Neos.NodeTypes:Text]').get(0)}
firstContentNode = ${q(node).children('main').find('[instanceof Neos.NodeTypes:Text]').get(0)}
@context.firstContentNode = ${this.firstContentNode}
firstContentNodeText = ${q(this.firstContentNode).property('text')}
@context.firstContentNodeText = ${this.firstContentNodeText}
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment