TinyMCE up-to-date auditable MIT fork
Editor42 brings a maintained TinyMCE to Drupal 10 and 11: a free, MIT-licensed fork of TinyMCE 6.8.6, the last MIT-licensed TinyMCE, kept current with security fixes. This module makes it the text editor of any text format you choose, in place of CKEditor 5 or next to it.
A TinyMCE that still gets security fixes
TinyMCE 6 reached its end of life (EOL) with published vulnerabilities still open. Editor42 carries on from there: on the day 42.0.0 came out, no publicly known vulnerability affecting it was left unfixed, and it keeps watch for new ones. Among its fixes, six CVEs that remain open in TinyMCE 6.8.6:
- CVE-2024-29203: XSS through an iframe that arrives with inserted content
- CVE-2024-29881: XSS in an SVG image loaded through an object or embed element
- CVE-2026-47759: stored XSS hidden in the data-mce attributes the editor keeps for itself
- CVE-2026-47760: XSS through namespace confusion in nested SVG content
- CVE-2026-47761: XSS through a forged media placeholder in the media plugin
- CVE-2026-47762: stored XSS through the comments the editor uses to protect content
Each fix is a commit of its own with its tests, all listed on Editor42's security page.
Editor42 or CKEditor 5, format by format
Each text format picks its editor. Enabling the module moves Full HTML, and any other format with an editor and no HTML limits, to Editor42 and to the top of the list content forms offer. Formats that limit HTML, like Basic HTML, keep their editor until you switch them under Configuration > Content authoring > Text formats and editors.
A toolbar built your way
Start from the Full-featured or Simple toolbar, then drag buttons on and off, on one line or several, or move them with the keyboard. Add the menubar if you like menus. Beyond headings, lists and links: tables, find and replace, the source code view, special characters, anchors, block quotes, show blocks and fullscreen.
Built on Drupal's own tools
- Every picture you paste, drop or upload becomes a file of your site, inside the format's upload limits, with its usage tracked.
- Captions and alignment go through Drupal's own filters.
- Media Library: Insert media embeds an item with Drupal's preview of it; Browse brings a picture into the image dialog.
- Allowed HTML stays in charge: saving a format that limits HTML adds the tags its toolbar needs, and says which.
- Full HTML keeps scripts, styles, iframes, inline SVG, embed tags and web components.
- Runs in node forms, Drupal's dialogs, the Layout Builder tray and Paragraphs.
- Your theme's styles while you write, right-to-left text by the language you edit, the field's name for screen readers.
Standard HTML, served from your site
Fields keep standard HTML with no markup of ours, in the attributes and the <drupal-media> tag Drupal's filters render. The editor installs with Composer into your libraries folder and loads from your site: no CDN, account, API key or tracking. The editor's source code is on GitHub.
Requirements
Drupal 10.3 or newer, or Drupal 11, on PHP 8.1 or newer, with core's Text Editor, Filter and File modules; Media and Media Library for Insert media and Browse. Composer adds the editor itself, editor42/editor42-drupal.
Installation
composer require drupal/editor42Enable Editor42 under Extend (or drush en editor42), then build each format's toolbar in Text formats and editors. Every step, with pictures, is in the installation guide.
Ask your assistant about Editor42
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
- editor Drupal core
- file Drupal core
- filter Drupal core
Required by
Tracked projects that depend on this one
No tracked projects depend on this one yet.
Activity
Releases
| Version | Type | Core | PHP | Release date | |
|---|---|---|---|---|---|
| 1.0.2 | Stable | 10–11 | Dec 4, 2026 |