pmaas/neos-tablestyles

Last activity 06 Dec 2022 38
composer require pmaas/neos-tablestyles

CKEditor table styles plugin for Neos CMS

1.0.1

Version
1.0.1
Type
neos-package
Release Date
Jul 21, 2020 08:37
Source
git
Distribution
zip
Requires
MIT
  • #flow
  • #editor
  • #ckeditor
  • #table
  • #neos
  • #neoscms
  • #tablestyle
135174bd01d206c13e53829754303af4f29cd489

Table styles plugin for Neos CMS

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!

The content of the readme is provided by Github