neosrulez/neos-ckeditor-customstyles

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

Custom styles for Neos CK Editor.

Installs: 4 043

Dependents: 0

Suggesters: 0

Security: 0

Stars: 2

Watchers: 2

Forks: 0

Open Issues: 0

Language:JavaScript

Type:neos-plugin

2.0.0 2023-01-16 14:55 UTC

This package is not auto-updated.

Last update: 2024-05-06 21:38:30 UTC


README

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

Installation

The NeosRulez.Neos.CkEditor.CustomStyles package is listed on packagist (https://packagist.org/packages/neosrulez/neos-ckeditor-customstyles) - therefore you don't have to include the package in your "repositories" entry any more.

Just run:

composer require neosrulez/neos-ckeditor-customstyles

Configuration

NeosRulez:
  Neos:
    CkEditor:
      CustomStyles:
        presets:
          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'
              success:
                label: Success
                cssClasses: 'text-success'

Usage

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

Author