定制 visol/neos-linkclass 二次开发

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

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

visol/neos-linkclass

最新稳定版本:2.0.0

Composer 安装命令:

composer require visol/neos-linkclass

包简介

Extends the Neos CKE5 link editor with a custom class selector

README 文档

README

Extends the Neos CKE5 link editor with an additional class selector.

image

Compatibility and Maintenance

This package is currently being maintained for the following versions:

Neos Version Version Maintained
Neos 4.x-7.2 1.x No
Neos 7.3 and above 2.x Yes

Installation

  1. Install the package with composer

  2. Enable additional linking options with the following configuration:

"Neos.NodeTypes.BaseMixins:TextMixin":
  properties:
    text:
      ui:
        inline:
          editorOptions:
            linking:
              linkClass: true
  1. Configure link classes in Settings.yaml with the following configuration:
Neos:
  Neos:
    Ui:
      frontendConfiguration:
        "Visol.Neos.LinkClass":
          linkClasses:
            standard: "Plain Link"
            button: "Button"

If the default style ("Plain Link" in the example above) should have no specific class, you can use an empty key in the configuration:

Neos:
  Neos:
    Ui:
      frontendConfiguration:
        "Visol.Neos.LinkClass":
          linkClasses:
            '': "Plain Link"
            button: "Button"

Development

If you need to adjust anything in this package, just do so and then rebuild the code like this:

cd Resources/Private/LinkClass
yarn && yarn build

And then commit changed files, including Plugin.js.

Credits

Created for visol by Dmitri Pisarev, https://github.com/dimaip

visol digitale Dienstleistungen GmbH, www.visol.ch

统计信息

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

GitHub 信息

  • Stars: 5
  • Watchers: 5
  • Forks: 7
  • 开发语言: JavaScript

其他信息

  • 授权协议: MIT
  • 更新时间: 2019-08-24