visol / neos-linkclass
Extends the Neos CKE5 link editor with a custom class selector
Installs: 13 684
Dependents: 0
Suggesters: 0
Security: 0
Stars: 5
Watchers: 7
Forks: 7
Open Issues: 10
Language:JavaScript
Type:neos-package
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-12-12 05:54:19 UTC
README
Extends the Neos CKE5 link editor with an additional class selector.
Compatibility and Maintenance
This package is currently being maintained for the following versions:
Installation
-
Install the package with composer
-
Enable additional linking options with the following configuration:
"Neos.NodeTypes.BaseMixins:TextMixin":
properties:
text:
ui:
inline:
editorOptions:
linking:
linkClass: true
- 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