pmaas/neos-tablestyles

CKEditor table styles plugin for Neos CMS

Installs: 44

Dependents: 0

Suggesters: 0

Security: 0

Stars: 0

Watchers: 4

Forks: 1

Open Issues: 18

Language:JavaScript

Type:neos-package

1.0.1 2020-07-21 08:37 UTC

This package is auto-updated.

Last update: 2024-05-07 02:17:56 UTC


README

Latest Stable Version Total Downloads License

This package provides a drop down to add custom CSS classes to CKEditor tables in Neos CMS.

Table style drop down

Installation

To install the plugin run this in your site package folder:

composer require --no-update pmaas/neos-tablestyles

Then run composer update in your project directory.

Usage

Add your custom css classes to your settings.yaml:

Pmaas:
  Neos:
    TableStyles:
      presets:
        label: 'Table style'
        options:
          primary:
            label: 'Primary style'
            cssClass: 'table--primary'
          secondary:
            label: 'Secondary style'
            cssClass: 'table--secondary'

Then add tableStyles: true to your NodeType, to activate the drop down:

'Vendor.Package:Type.Name':
  properties:
    text:
      ui:
        inline:
          editorOptions:
            tableStyles: true

Contributions

Contributions are always welcome!