This project is not covered by Drupal’s security advisory policy.

Integrates datatables javascript library into a Drupal 8 (or superior) rich-text filter.

Installation

  1. Download the datatables library from https://datatables.net/ and place it to `DRUPAL_ROOT/libraries/datatables/`. It is recommended to use composer to download the datatables library and to place it into the appropriate directory.
  2. Install the module per normal
    https://www.drupal.org/documentation/install/modules-themes/modules-8.
  3. Go to the 'Text formats and editors' configuration page:
    `/admin/config/content/formats`, and for each text format/editor/, enable the filter Datatables filter.
  4. If "Limit allowed HTML tags and correct faulty HTML" is enabled, make sure
    the `<table class>` tag and other table related HTML tags are included in "Allowed HTML tags" with attributes.

This module needs to evolve and it is searching for new maintainers.
For example the following features to be added :

  • integration of CDN version of the library
  • integration of custom attributes and translations

Project information

Releases