Skip to content

richtexteditor/richtextbox

Repository files navigation

RichTextBox for ASP.NET Core

The professional WYSIWYG rich text editor Tag Helper for ASP.NET Core.

Version NuGet License

RichTextBox for ASP.NET Core

RichTextBox is a professional WYSIWYG editor Tag Helper for ASP.NET Core that delivers a complete content-authoring experience out of the box. With a single tag, you get rich-text formatting, tables, image management, templates, and more — ready for production forms, CMS pages, and email composers.

Key Features

  • ASP.NET Core Tag Helper — just add <richtextbox /> to any Razor page
  • Clean, modern toolbar UI with responsive layout
  • Paste from Word and Excel with automatic formatting cleanup
  • Drag-and-drop image upload with server-side gallery
  • Powerful table editing support
  • Content templates with categories and preview
  • Built-in code snippet highlighting
  • Export to PDF and Word
  • Autosave and draft recovery
  • Context menu on images, tables, and links
  • Multiple skins (Default, Office 2007 Blue)
  • Full JavaScript API with 40+ methods
  • Built-in RichTextBox.lic license validation
  • Upload endpoint mapper for file and image handling

Quick Start

dotnet run --project RichTextBox.WebSite

Open the URL printed in the console and browse /Demos.

Getting Started with Tag Helper

1. Add the Tag Helper in _ViewImports.cshtml:

@addTagHelper *, RichTextBox

2. Register services in Program.cs:

builder.Services.AddRichTextBox();
app.MapRichTextBoxUploads();

3. Use in any Razor page:

<richtextbox name="Body" height="400px" />

100 Server-Side Demos

This package includes 100 working demos covering every feature:

Category Demos
Getting Started Overview, Minimal Setup, Configuration, Tag Helper Basics, JavaScript API
Toolbar Default, Full, Basic, Custom, Read-Only Mode
Text Formatting Bold/Italic/Underline, Fonts, Colors, Line Height, Paragraph Format
Lists & Structure Ordered/Unordered Lists, Todo Lists, Tables, Block Quotes
Links & Media Insert Link, Image Gallery, Video, Document, Emoji, Code Blocks
Content Templates Basic, Custom, Categories, Dynamic, Preview
Image Handling Upload, Gallery Browse, Drag & Drop, Resize, Alignment
Autosave & Drafts Basic Autosave, Custom Key/Delay, Multiple Editors, Recovery
Paste Handling Auto Paste, Paste as Text, Paste from Word, Cleanup
Integration Form Post, Model Binding, Ajax Submit, Multiple Editors
Advanced Source Code View, Find & Replace, Format Painter, Full Screen

Browse all 100 demos online

What's Included

RichTextBox-Trial/
├── README.md
├── RichTextBox-Trial.slnx
├── RichTextBox.lic              # 30-day trial license
├── lib/
│   └── RichTextBox.dll          # Editor library
├── RichTextBox.WebSite/         # Demo website with 100 examples
│   ├── Pages/Demos/             # 100 demo pages
│   ├── Program.cs
│   └── wwwroot/
└── docs/                        # Setup and deployment guides

NuGet Package

dotnet add package RichTextBox.AspNetCore --prerelease

View on NuGet

Requirements

  • .NET 8 SDK or later

Documentation

Links

About Richscripts Inc

Richscripts Inc is a Canadian company established in 2003, specializing in high-quality, reusable web components and enterprise software solutions. With 33,000+ customers and over 1 million users worldwide, including Fortune 500 companies and global IT consultancies.

Our Products

Rich Text Editors

JavaScript Rich Text Editor | Rich Text Editor for ASP.NET | Rich Text Editor for PHP | Rich Text Editor for Classic ASP | Blazor Rich Text Editor | RichTextBox for ASP.NET Core

File Upload Components

Ajax Uploader | PHP File Uploader | ASP Uploader | CoreUpload - ASP.NET Core Upload | MultipleUpload - JavaScript Upload

Chat & Communication

MyLiveChat - Free Live Chat | Dchat - AI Chatbot | ZChat - On-Premises Live Chat

Developer Tools

JavaScript Obfuscator | Free .NET Obfuscator | JavaScript Converter


support@richscripts.com | www.richscripts.com

About

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

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors