Release notes · April 22, 2026

RichTextEditor npm 2.0.0–2.0.2

npm 2.0.0–2.0.2

v2.0 Collaboration & Review plugins Major

Six plugins shipped together — the full review stack that TinyMCE 7 and CKEditor 5 gate behind their premium tiers:

  • Slash commands (plugins/slashcommand.js) — type / to insert headings, lists, tables, code blocks, AI actions; 15 built-in blocks plus any registered AI action.
  • @Mentions (plugins/mentionplugin.js) — trigger-character framework for @, #, [[wiki]]; async data sources with debounce + loading state, atomic chips.
  • Track Changes (plugins/trackedchanges.js) — Word-style human suggesting mode, per-author color, accept / reject from the Review drawer.
  • Threaded comments (plugins/comments.js) — anchored to selection ranges, with replies, resolve, delete.
  • Revision history (plugins/revisionhistory.js) — snapshot browser with LCS line diff, manual or debounced auto-snapshots, localStorage or server-POST persistence.
  • Yjs presence (plugins/yjscollab.js) — live cursors + shared review ledger via a peer-dependency Yjs provider.

All six share a single editor.reviewLedger store so AI suggestions, human tracked-change suggestions, and comments appear interleaved in the same Review drawer.

AI Toolkit Major

Three AI surfaces in one release:

  • Ask AI — toolbar dropdown with nine preset actions (proofread, rewrite, shorten, expand, summarize, translate, justify, add paragraph, add AI comment) + free-text prompt.
  • AI Chat — docked multi-turn panel with scope switcher.
  • AI Review — batch suggestions in a reviewable drawer.

Provider-agnostic via editor.aiToolkit.setResolver(fn) (client-side BYOK) or IRichTextBoxAiResolver (ASP.NET Core). Ships a demo resolver so AI works without a key out of the box. · Demo

Structured content: JSON / Markdown round-trip New

Opt-in by loading plugins/structured-content-bridge.js and calling RichTextEditorStructuredBridge.installStructuredContentBridge(). Round-trip HTML ↔ JSON ↔ Markdown for apps that need a typed document model or want to render server-side. · Demo

Install or upgrade

Grab the latest via npm:

npm install @richscripts/richtexteditor@latest

Feedback & issues: support@richtexteditor.com