prgfx / neos-dynamic-placeholder
Enables setting the Neos inline editor placeholder with ClientEval
Installs: 170
Dependents: 0
Suggesters: 0
Security: 0
Stars: 1
Watchers: 1
Forks: 0
Open Issues: 0
Language:JavaScript
Type:neos-package
Requires
- neos/neos-ui: *
README
Prgfx.Neos.DynamicPlaceholder
This package allows to use ClientEval:
statements in inline editor placeholders (see Feature Request).
composer require prgfx/neos-dynamic-placeholder
Example
Vendor.Package:Page: superTypes: Neos.Neos:Page: true properties: displayTitle: type: string ui: inlineEditable: true inline: editorOptions: placeholder: ClientEval:node.properties.title
Eval Scope
node
: the node the editor belongs toeditorOptions
: the editorOptions, i.e. (original) placeholder, formatting etc.
This plugin works by decorating the original placeholder plugin in some hacky way and thus relies on that internal implementation to a certain extent. Use with care.
It has not been tested against different Neos versions.