Release notes · November 18, 2026

RichTextEditor 2.17.0

AI Translate now offers 27 target languages, up from 6, Undo works after a visit to the HTML view, and the document model now runs without a browser. Core 2.6.12 → 2.6.14 (994,123 bytes).

Latest
2.17.0

New: AI Translate offers 27 target languages

  • Spanish and French come first, then English, German, Italian, Portuguese, Japanese, Chinese (Simplified and Traditional), Korean, Arabic, Hindi, Russian and more.
  • Applied translations carry their language in lang. Arabic and Hebrew also get dir="rtl", so they read right to left.
  • An aiToolkitResolver request now also names the target with languageLabel and languageCode.

Fixed: undo

  • Opening and closing the HTML source view without editing added an empty undo step, so the next Undo appeared to do nothing. A visit with no edit now leaves the document untouched, and an edit made in the source is one undo step.
  • Typing immediately after setHTMLCode() now keeps its own undo step.

New: the document model runs without a browser

  • rte-model.js loads in Node, in a Web Worker or on a page, and converts between HTML, Markdown and the document model.
  • setJSON(getJSON()) now keeps comments, tracked changes, mentions, math, table header rows and the other constructs it used to drop.

Other fixes

  • After Escape moves focus to the toolbar, Tab now reaches the controls placed after the editor.
  • Bulleted and numbered lists pasted from Word no longer keep the Word marker at the start of each item.
  • maxLength now counts the same characters as the status bar, in every browser.

Install or upgrade

Grab the latest via npm:

npm install @richscripts/richtexteditor@latest

Feedback & issues: support@richtexteditor.com