Skip to content
View richtexteditor's full-sized avatar
💭
I may be slow to respond.
💭
I may be slow to respond.

Block or report richtexteditor

Report abuse

Contact GitHub support about this user’s behavior. Learn more about reporting abuse.

Report abuse
richtexteditor/README.md

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

Popular repositories Loading

  1. richtexteditor richtexteditor Public

    RichTextEditor - JavaScript WYSIWYG editor with AI Toolkit (BYOK), Yjs CRDT collaboration, track changes, and a perpetual license. React, Vue, Angular, Blazor, ASP.NET, PHP.

    JavaScript 2

  2. ajaxuploader ajaxuploader Public

    Ajax Uploader is an easy to use, hi-performance ASP.NET Web Forms File Upload Control.

    ASP.NET 1

  3. coreupload coreupload Public

    CoreUpload - ASP.NET Core File Upload Component

    HTML

  4. richtextbox richtextbox Public

    RichTextBox ASP.NET Core — Rich text editor with 100 server-side demos

    HTML

  5. ts-rich-text-editor ts-rich-text-editor Public

    TypeScript RichTextEditor - Typed wrapper with async initialization and IntelliSense support for the RichTextEditor WYSIWYG editor

    JavaScript

  6. ts.richtexteditor.com ts.richtexteditor.com Public

    Website and demo package for TypeScript RichTextEditor - ts.richtexteditor.com

    JavaScript