定制 prgfx/neos-dynamic-placeholder 二次开发

按需修改功能、优化性能、对接业务系统,提供一站式技术支持

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

prgfx/neos-dynamic-placeholder

最新稳定版本:v0.2.0

Composer 安装命令:

composer require prgfx/neos-dynamic-placeholder

包简介

Enables setting the Neos inline editor placeholder with ClientEval

README 文档

README

Version

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 to
  • editorOptions: 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.

统计信息

  • 总下载量: 252
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 1
  • 点击次数: 0
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 1
  • Watchers: 1
  • Forks: 0
  • 开发语言: JavaScript

其他信息

  • 授权协议: GPL-3.0-or-later
  • 更新时间: 2022-05-06