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

v0.1.1 2024-10-10 18:39 UTC

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)