@richscripts/richtexteditor

A full-featured JavaScript rich text editor (WYSIWYG) with toolbar, plugins, i18n support, a built-in AI Toolkit (Ask AI, AI Chat, AI Review drawer, BYOK resolver), structured content APIs (JSON/Markdown), and an optional collaboration / review stack: sla


Keywords
rich-text-editor, wysiwyg, editor, html-editor, structured-content, json, markdown, react, vue, angular, svelte, headless, use-editor, ssr, server-rendering, text-editor, contenteditable, toolbar, formatting, image-editor, pdf-export, i18n, plugins, javascript, vanilla-js, no-dependencies, slash-commands, mentions, track-changes, comments, revision-history, collaboration, yjs, crdt, ai-toolkit, ai-editor, ai, aspnetcore, blazor, ckeditor-alternative, tinymce-alternative
Licenses
NTP/MIT-feh
Install
npm install @richscripts/richtexteditor@2.10.0

Documentation

RichTextEditor

The complete WYSIWYG editor for the web — AI toolkit, real-time collaboration, and a perpetual license in the box.

RichTextEditor is a full-featured JavaScript rich text editor with a built-in AI Toolkit (Ask AI, AI Chat, AI Review, bring-your-own-key), per-node Yjs CRDT real-time collaboration, track changes, threaded comments, revision history, JSON + Markdown structured content, and native bindings for React, Vue, Angular, Svelte, Blazor, ASP.NET Core, ASP.NET Web Forms, and PHP.

One domain, one purchase — from $129, perpetual. No per-load metering, no subscription, no AI add-on fees. A free community version is available.

Live demos · Documentation · Pricing · Compare vs TinyMCE / CKEditor / Froala / Tiptap


Quick start

npm

npm install @richscripts/richtexteditor

# or scaffold a complete working example app:
npm create @richscripts/richtexteditor my-app -- --react   # also: --vue, --angular
// Side-effect import attaches `RichTextEditor` to `window`.
import "@richscripts/richtexteditor/richtexteditor/rte.js";
import "@richscripts/richtexteditor/richtexteditor/plugins/all_plugins.js";

const editor = new RichTextEditor("#myeditor");

// Or the typed React wrapper (Vue / Angular / Svelte wrappers shipped too):
import { RichTextEditorComponent } from "@richscripts/richtexteditor/react";

.NET

dotnet new install RichTextEditor.Templates

dotnet new richtexteditor-mvc    -n MyApp   # ASP.NET Core MVC
dotnet new richtexteditor-razor  -n MyApp   # Razor Pages
dotnet new richtexteditor-blazor -n MyApp   # Blazor Server

Script tag

<link rel="stylesheet" href="/richtexteditor/rte_theme_default.css" />
<script src="/richtexteditor/rte.js"></script>
<script src="/richtexteditor/plugins/all_plugins.js"></script>

<div id="myeditor"></div>
<script>var editor = new RichTextEditor("#myeditor");</script>

The richtexteditor/ folder in this repository is the current distributable runtime — copy it into your static assets and you're running.

What's in this repository

Folder Contents
richtexteditor/ The editor runtime: rte.js, 50+ plugins, themes, 30+ language packs
html/ Plain-HTML demo pages you can open directly
server/ Server integration examples: ASP.NET Core (MVC / Razor / Blazor), ASP.NET Framework (MVC / Web Forms), PHP, plus React, Vue, Angular, and TypeScript client apps — each with upload handlers and AI endpoints wired

Highlights

  • AI Toolkit — Ask AI, docked AI Chat, reviewable AI suggestions, streaming, BYOK per-tenant key vault. Works with OpenAI-compatible endpoints, Azure OpenAI, Anthropic, Gemini, or local Ollama.
  • Real-time collaboration — per-node Yjs CRDT text sync, presence cursors, per-author undo. Architecture docs
  • Review workflow — track changes, threaded comments, named revision history.
  • Structured content — lossless JSON document model and Markdown round-trip.
  • Everything editors are judged by — clean paste from Word/Excel, tables, image editing and uploads, mentions, slash commands, find & replace, accessibility checker, dark mode, mobile toolbar, 30+ languages.

License

The editor is commercial software: license agreement · pricing — perpetual per-domain licensing with a free community version. The runtime in this repository is the protected distribution build; it runs in trial mode until a license key is configured.

Support & feedback