beromir / neos-icon-select-editor
A plugin for Neos CMS which provides a toggle editor.
Installs: 10
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 1
Forks: 0
Open Issues: 0
Language:JavaScript
Type:neos-plugin
Requires
- neos/neos-ui: ^5.3 || ^7.0 || ^8.0
This package is not auto-updated.
Last update: 2024-11-22 17:33:40 UTC
README
Installation
Run the following command in your site package:
composer require --no-update beromir/neos-icon-select-editor
Then run composer update
in your project root.
Usage
properties: icon: type: array ui: label: 'Icon' reloadIfChanged: true inspector: group: 'general' editor: 'Medienreaktor.IconSelectEditor/Editor' editorOptions: iconSources: - name: 'Font Awesome' path: 'Vendor.Site/Private/Icons/FontAwesome/regular' - name: 'Brands' path: 'Vendor.Site/Private/Icons/FontAwesome/brands'
The following properties are stored in the database for the icon:
resourceUri
(e.g.resource://Vendor.Site/Private/Icons/FontAwesome/regular/squirrel.svg
)sourceName
(e.g.Font Awesome
)label
(e.g.Squirrel
)