codeq / passthrougheditor
这个Neos UI编辑器插件接受一个配置值,并将其转换后保存到另一个字段。
v1.0.1
2019-09-24 13:43 UTC
Requires
- neos/neos: ~4.0 || ~5.0 || dev-master
- dev-master
- v1.0.1
- v1
- 0.1
- dev-dependabot/npm_and_yarn/Resources/Private/PassthroughEditor/qs-6.11.0
- dev-dependabot/npm_and_yarn/Resources/Private/PassthroughEditor/decode-uri-component-0.2.2
- dev-dependabot/npm_and_yarn/Resources/Private/PassthroughEditor/loader-utils-1.4.2
- dev-dependabot/npm_and_yarn/Resources/Private/PassthroughEditor/shell-quote-1.7.3
- dev-dependabot/npm_and_yarn/Resources/Private/PassthroughEditor/async-2.6.4
- dev-dependabot/npm_and_yarn/Resources/Private/PassthroughEditor/url-parse-1.5.10
- dev-dependabot/npm_and_yarn/Resources/Private/PassthroughEditor/chownr-1.1.4
- dev-dependabot/npm_and_yarn/Resources/Private/PassthroughEditor/mout-1.2.3
- dev-dependabot/npm_and_yarn/Resources/Private/PassthroughEditor/shelljs-0.8.5
- dev-dependabot/npm_and_yarn/Resources/Private/PassthroughEditor/tar-4.4.19
- dev-dependabot/npm_and_yarn/Resources/Private/PassthroughEditor/path-parse-1.0.7
- dev-dependabot/npm_and_yarn/Resources/Private/PassthroughEditor/hosted-git-info-2.8.9
- dev-dependabot/npm_and_yarn/Resources/Private/PassthroughEditor/lodash-4.17.21
- dev-dependabot/npm_and_yarn/Resources/Private/PassthroughEditor/y18n-3.2.2
- dev-dependabot/npm_and_yarn/Resources/Private/PassthroughEditor/elliptic-6.5.4
- dev-dependabot/npm_and_yarn/Resources/Private/PassthroughEditor/ini-1.3.7
- dev-dependabot/npm_and_yarn/Resources/Private/PassthroughEditor/mixin-deep-1.3.2
- dev-dependabot/npm_and_yarn/Resources/Private/PassthroughEditor/eslint-utils-1.4.3
- dev-dependabot/npm_and_yarn/Resources/Private/PassthroughEditor/merge-1.2.1
This package is auto-updated.
Last update: 2024-09-09 13:27:26 UTC
README
此包提供了一个虚拟文本编辑器,它执行一个任务:从 editorOptions.value
中获取一个值并将其设置为一个值。当处理动态客户端配置的特殊情况时,这可能很有用。无论如何,下面是一个示例。
安装
composer require '@codeq/passthrougheditor'
- 在 NodeTypes.yaml 中开始使用编辑器,例如:
Some:NodeType:
properties:
geopoint:
type: Ttree\GoogleMapEditor\GeoPoint
ui:
inspector:
editor: Ttree.GoogleMapEditor/Inspector/Editors/GeoPointEditor
group: 'geo'
latitude:
type: string
ui:
inspector:
editor: CodeQ.PassthroughEditor/Inspector/Editors/PassthroughEditor
editorOptions:
value: 'ClientEval:node.properties.geopoint && node.properties.geopoint[0]'
group: 'geo'
在这个示例中,我们从 geopoint 属性获取纬度并将其保存到 latitude 属性中。