visol / neos-linkclass
扩展 Neos CKE5 链接编辑器,增加了自定义类选择器
2.0.0
2023-04-29 19:22 UTC
Requires
- neos/neos: *
- neos/neos-ui: ~7.3.0 || ^8.0
- dev-master
- 2.0.0
- 1.2.0
- 1.1.1
- 1.0.0
- dev-dependabot/npm_and_yarn/Resources/Private/LinkClass/semver-5.7.2
- dev-dependabot/npm_and_yarn/Resources/Private/LinkClass/qs-6.11.0
- dev-dependabot/npm_and_yarn/Resources/Private/LinkClass/decode-uri-component-0.2.2
- dev-dependabot/npm_and_yarn/Resources/Private/LinkClass/loader-utils-1.4.2
- dev-dependabot/npm_and_yarn/Resources/Private/LinkClass/mout-1.2.3
- dev-dependabot/npm_and_yarn/Resources/Private/LinkClass/shelljs-0.8.5
- dev-dependabot/npm_and_yarn/Resources/Private/LinkClass/async-2.6.4
- dev-dependabot/npm_and_yarn/Resources/Private/LinkClass/url-parse-1.5.10
- dev-dependabot/npm_and_yarn/Resources/Private/LinkClass/elliptic-6.5.4
This package is auto-updated.
Last update: 2024-09-12 05:20:33 UTC
README
通过增加额外的类选择器扩展 Neos CKE5 链接编辑器。
兼容性和维护
该软件包目前正在维护以下版本
安装
-
使用 composer 安装该软件包
-
使用以下配置启用额外的链接选项
"Neos.NodeTypes.BaseMixins:TextMixin":
properties:
text:
ui:
inline:
editorOptions:
linking:
linkClass: true
- 在
Settings.yaml
中使用以下配置配置链接类
Neos:
Neos:
Ui:
frontendConfiguration:
"Visol.Neos.LinkClass":
linkClasses:
standard: "Plain Link"
button: "Button"
如果默认样式(如上例中的“普通链接”)没有特定的类,则可以在配置中使用空键
Neos:
Neos:
Ui:
frontendConfiguration:
"Visol.Neos.LinkClass":
linkClasses:
'': "Plain Link"
button: "Button"
开发
如果您需要调整此软件包中的任何内容,只需进行修改,然后按照以下方式重建代码
cd Resources/Private/LinkClass
yarn && yarn build
然后提交更改的文件,包括 Plugin.js。
致谢
由 Dmitri Pisarev 为 visol 创建,https://github.com/dimaip
visol digitale Dienstleistungen GmbH,www.visol.ch