Skip to main content
Drupal is a registered trademark of Dries Buytaert
Release: OpenID Connect / OAuth client 3.0.0-alpha9 New alpha version released for module openid_connect (3.0.0-alpha9). Usage Milestone: Google Analytics Module google_analytics crossed 1,000 active installs. Release: Timelinr 1.0.1 Minor update available for module timelinr (1.0.1). Release: GraphQL Compose Codegen 1.1.2 Minor update available for module graphql_compose_codegen (1.1.2). Release: Mapy.com 1.1.3 Minor update available for module mapycom (1.1.3). Release: Ckeditor5 entity browser 3.0.3 Minor update available for module ckeditor5_entity_browser (3.0.3). Release: Ckeditor5 entity browser 3.0.1 Minor update available for module ckeditor5_entity_browser (3.0.1). Release: Ckeditor5 entity browser 3.0.2 Minor update available for module ckeditor5_entity_browser (3.0.2). Release: Teamleader Integration 4.0.2 Minor update available for module teamleader (4.0.2). Module Revived: Entityqueue Buttons 1.1.2 Module entityqueue_buttons updated after 8 months of inactivity (1.1.2).

CKEditor 5 Sup Fix

5 sites Security covered Drupal 10–11
View on drupal.org

This module restores proper support for the HTML `<sup>` tag in CKEditor 5, ensuring legacy markup is preserved. It's particularly useful for sites upgrading from CKEditor 4 that need to maintain specific `<sup>` structures and formatting for compatibility or accessibility reasons.

CKEditor5 Sup Fix

Following lessons learned developing CKEditor5 Table Fix and CKEditor5 Label Fix which you may also want to consider.

A lightweight plugin that restores HTML <sup> markup support (like for example:

CKEditor 4 accepted this:

<sup id="fn1-1-rf"><a class="fn-lnk" href="#fn1"><span class="wb-inv">Footnote </span>1</a></sup>

CKEditor 5 without the ckeditor5_sup_fix dummy fix plugin turns the above into this (SURPRISE!):

<a class="fn-lnk" href="#fn1"><span class="wb-inv"><sup id="fn1-1-rf">Footnote </sup></span><sup id="fn1-1-rf">1</sup></a>

Features

ckeditor5_sup_fix is especially useful after upgrading from CKEditor4.

  • With the ckeditor5_sup_fix plugin the markup now renders as follows:
<sup id="fn1-1-rf"><a class="fn-lnk" href="#fn1"><span class="wb-inv">Footnote </span>1</a></sup>
  • Provides a faux CKEditor button for easy enablement (just drag the dummy icon down to the editor bar and then save configuration)
  • Works with Drupal 10/11 and any text format using CKEditor5
  • Designed for upgraded sites coming from CKEditor4 that need legacy sup markup preserved

Use cases:

  • Government and enterprise sites with legacy or semantic <sup> markup
  • WCAG-compliant <sup> elements
  • Any site where CKEditor 5 strips valid <sup> structure and formatting

Post-Installation

  1. Enable the CKEditor5 Sup Fix plugin on the same text format. Look for the “Sup Fix Dummy” button and add it to the toolbar.
  2. Save your text format — the plugin is now active.

No visible button will appear in the CKEditor UI, but the plugin will be loaded silently in the background to preserve your full <sup> markup.

Additional Requirements

None. This module only requires Drupal core CKEditor 5 support and does not depend on contrib modules.

Depends on

Dependencies of the latest stable release

  • ckeditor5 Drupal core

Required by

Tracked projects that depend on this one

No tracked projects depend on this one yet.

Activity

Tracked releases
3
Tracked since
Jul 2025
Latest release
2 months ago
Releases (12 mo)
1 ▼ from 2
Maintenance
Active

Release Timeline

Releases

Version Type Core Release date
1.0.0 Stable 10–11 Jun 15, 2026
1.0.0-beta1 Pre-release 10–11 Jul 1, 2025
1.0.x-dev Dev 10–11 Jul 1, 2025