Skip to main content
drupalreleases

Use direct release data with your AI assistant.

Learn more

WxT Chart Stability

Security covered Under active development 15 sites

Part of the WXT ecosystem · 4 projects

This module provides a text filter to clean up HTML generated by CKEditor, specifically removing non-breaking spaces within table cells that can cause JavaScript errors with charting libraries. It's designed to ensure compatibility with data charting tools like wet-boew.

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!

Drupal 10–11

Ask your assistant about WxT Chart Stability

Check compatibility with your Drupal and PHP version, maintenance and security coverage, from current release data. How it works

Depends on

Dependencies of the latest stable release

Required by

Tracked projects that depend on this one

No tracked projects depend on this one yet.

Activity

Tracked releases
5
Tracked since
Jul 2023
Latest release
4 months ago
Releases (12 mo)
1
Maintenance
Active

Release Timeline

Releases

Version Type Core PHP Release date
1.0.0 Stable 10–11 Jul 2, 2026
1.0.0-beta1 Pre-release 10–11 Dec 31, 2024
1.0.0-alpha2 Pre-release 9–10 Jul 11, 2023
1.0.0-alpha1 Pre-release 9–10 Jul 11, 2023
1.0.x-dev Dev 10–11 Jul 11, 2023