CK5 induced scenarios - publish a new contrib module with text filter plugins

Created on 7 May 2025, 27 days ago

Problem/Motivation

ck5 destroys content in various scenarios:

  1. Videos getting wrapped in p elements causing wet-boew to be unable to play videos
  2. spans with anchors failing
  3. table tfoot element being removed.

The text filter plugins we developed is how we worked around these ck5 induced scenarios.

Steps to reproduce

Upgrade from ck4 to ck5

Proposed resolution

Publish a new contrib module, since this is wider than wxt scope.

Remaining tasks

Publish a new contrib module, perhaps cook in the plugins into the baseline text filter plugin configs

User interface changes

See issue summary

API changes

New text filter plugins

Data model changes

N/A

🐛 Bug report
Status

Active

Version

6.1

Component

Code

Created by

🇨🇦Canada joseph.olstad

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

Comments & Activities

  • Issue created by @joseph.olstad
  • 🇨🇦Canada joseph.olstad

    Another CK5 bug to fix
    Added label / anchor use case to the issue summary, described below

    CKEditor 4 accepted this:

    <li class="checkbox" id="chbx-p2">
    <input class="action-checkbox-2 cb-dmm" id="eg5-2" type="checkbox">
    <label for="eg5-2">You hold a federal wine licence issued by the Canada Revenue Agency (CRA) under 
    <a href="https://laws-lois.justice.gc.ca/eng/acts/e-14.1/page-2.html#h-179017">section&nbsp;14 of the <cite>Excise Act, 2001</cite></a>, valid at the time you apply to the program and up to or after March&nbsp;31,&nbsp;2026
    </label>
    </li>

    CKEditor 5 turns the above into this (SURPRISE!):

    <li class="checkbox" id="chbx-p2">
    <input class="action-checkbox-2 cb-dmm" id="eg5-2" type="checkbox"> 
    <label for="eg5-2">You hold a federal wine licence issued by the Canada Revenue Agency (CRA) under </label>
    <a href="https://laws-lois.justice.gc.ca/eng/acts/e-14.1/page-2.html#h-179017"><label for="eg5-2">section&nbsp;14 of the&nbsp;</label></a>
    <cite><a href="https://laws-lois.justice.gc.ca/eng/acts/e-14.1/page-2.html#h-179017"><label for="eg5-2">Excise Act, 2001</label></a></cite>
    <label for="eg5-2">, valid at the time you apply to the program and up to or after March&nbsp;31,&nbsp;2026</label>
    </li>
Production build 0.71.5 2024