This filter is added, I named it Compatibility Filter.
Drag this filter to the very top.

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

This module was created using
  1. drush gen module AND
  2. drush gen plugin:filter using
    the reversible option

The purpose is to rewrite unwanted nbsp related table td element markup generated by the ckeditor. If you're using ckeditor and your data charts library is throwing a javascript exception you will want to look at this module.
The text filter plugin is optionally enabled via your text format used by your wysiwyg in this case ckeditor but can be used with other editors.

The example filter was changed as follows:

This module provides a configurable text filter which was originally designed to remove <td>&nbsp;</td> and replace with <td></td>. The ckeditor module inserts these &nbsp; and the resulting html does not jive with certain versions of charts javascript libraries such as the wet-boew 4.0 js.

Using v4.0 wet-boew charts library OR similar data charts libraries. The wxt distribution

and includes a version of data charts. Other distributions or drupal stacks may also have a need for this module if they use a data charts library that is negatively affected by the default ckeditor 4 / ckeditor 5 behavior.

More explanation and screenshots in this issue:

#3377521: ckeditor 4 or 5 breaks wet-boew v4 charts, there is a solution

Features

Basic functionality, provides a text filter that can be used with ckeditor.

Post-Installation

Install this module then go to your text formats and look for "Charts Compatibility", put the checkbox to on, then review the corresponding options and change them as you wish. Defaults are included.

Additional Requirements

Recommend Drupal 10+, ckeditor 5 or ckeditor 4.

Originally intended to be used with the wxt distribution but may have other uses.

Similar projects

Other modules available such as nbsp but this one is a bit unique in it's default configuration and configurability.

Supporting this Module

Entreprise 7pro.ca Inc is supporting this module

Community Documentation

README.md

Enjoy!

Supporting organizations: 

Project information

Releases