Skip to content

Commit

Permalink
BUGFIX: Resolve fallback placeholders when description is empty
Browse files Browse the repository at this point in the history
  • Loading branch information
Sebobo committed May 6, 2019
1 parent dc49452 commit 8720ef5
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Configuration/NodeTypes.Mixin.OpenGraph.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@
group: 'openGraph'
editor: 'Neos.Neos/Inspector/Editors/TextAreaEditor'
editorOptions:
placeholder: 'ClientEval: node.properties.metaDescription || "i18n"'
placeholder: 'ClientEval: node.properties.metaDescription || "Neos.Seo:NodeTypes.OpenGraphMixin:properties.openGraphDescription.textAreaEditor.placeholder"'
validation:
'Neos.Neos/Validation/StringLengthValidator':
maximum: 200
Expand Down
2 changes: 1 addition & 1 deletion Configuration/NodeTypes.Mixin.TwitterCard.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@
group: 'twittercard'
editor: 'Neos.Neos/Inspector/Editors/TextAreaEditor'
editorOptions:
placeholder: 'ClientEval: node.properties.openGraphDescription || node.properties.metaDescription || "i18n"'
placeholder: 'ClientEval: node.properties.openGraphDescription || node.properties.metaDescription || "Neos.Seo:NodeTypes.TwitterCardMixin:properties.twitterCardDescription.textAreaEditor.placeholder"'
validation:
'Neos.Neos/Validation/StringLengthValidator':
maximum: 200
Expand Down

0 comments on commit 8720ef5

Please sign in to comment.