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

Created on 27 July 2023, over 1 year ago
Updated 7 February 2024, 11 months ago

Problem/Motivation

spun from:
🐛 [D10] / [D9] WxT 4 & 5 - Remove IE8 from the wxt build, IE8 cleanup Fixed

wet-boew charts library documentation

Expected result:

Without the fix, none of the above charts will render.

This affects wxt4.x and wxt5.x
It is caused by both ckeditor 4 and ckeditor 5

The same solution works for both ckeditor 4 and ckeditor 5.

ckeditor induced <td>&nbsp<td> breaks wet-boew v4 charts unless using a solution such as the one provided by the new module I created called wxt_chart_stability , this new module cleans up the wet-boew markup and allows the charts to render as expected.

Steps to reproduce

Install wxt vanilla, paste wet-boew charts v4 markup into ckeditor wysiwyg source mode, save the content, the resulting markup will not be converted to a chart until the fix is in place.

Proposed resolution

one solution is proposed in the wxt_chart_stability module.

Remaining tasks

  1. Review/discuss plans to make an out of the box wxt solution to support wet-boew charts.
  2. Review/discuss plan to make an upgrade path for new release / upgrade that fixes support for wet-boew charts.

I suggest that this solution be repackaged and cooked into wxt_ext_editor

The plugin should be set up by default and there should be a hook_upgrade to enable this plugin by default on all text formats that use ckeditor. This solution should come in as soon as wxt_ext_editor is installed and should also be enabled/added and included in an upgrade.

Without this solution the wet-boew charts are broken.

This is a bug that we should fix by cooking this text filter plugin and related configuration into the out of the box wxt install and upgrades of wxt for adding support of wet-boew charts.

Affects both ckeditor4 and ckeditor5, same solution works for both.

User interface changes

TBD

API changes

TBD

Data model changes

N/A

🐛 Bug report
Status

Active

Version

5.2

Component

Code

Created by

🇨🇦Canada joseph.olstad

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Production build 0.71.5 2024