neosrulez/neos-ckeditor-customstyles

There is no license information available for the latest version (2.0.4) of this package.

Custom styles for Neos CK Editor.

Installs: 7 348

Dependents: 0

Suggesters: 0

Security: 0

Stars: 2

Watchers: 2

Forks: 0

Open Issues: 0

Language:JavaScript

Type:neos-plugin

2.0.4 2024-08-12 14:02 UTC

This package is not auto-updated.

Last update: 2024-11-18 15:18:58 UTC


README

A Neos CMS plugin that allows you to apply your own stylesheets to text.

Installation

Just run:

composer require neosrulez/neos-ckeditor-customstyles

Configuration

NeosRulez:
  Neos:
    CkEditor:
      CustomStyles:
        presets:
          fontAwesomeIcon:
            label: Font Awesome
            dataSourceIdentifier: neosrulez-bootstrap-fa
          textColor:
            label: Text color
            options:
              primary:
                label: Primary
                cssClasses: 'text-primary'
                preview: '/_Resources/Static/Packages/Acme.Package/primary-color.png'
              secondary:
                label: Secondary
                cssClasses: 'text-primary'
                backgroundColor: '#0a58ca'
                textColor: '#FFFFFF'
              success:
                label: Success
                cssClasses: 'text-success'

Usage

'Neos.NodeTypes:Text':
  properties:
    text:
      ui:
        inline:
          editorOptions:
            customStyles:
              fontAwesomeIcon: true
              textColor: true

Author