RazorRichText
A rich text editor for ASP.NET Core Razor views.
Problem
A Razor form that needs formatted text also needs a decision about what HTML is allowed back into the application.
Context
Published on NuGet as RazorRichText. The listing reviewed for this page was version 10.0.1, targeting .NET 10, updated 18 September 2026. The source is in the RazorRichText repository.
Role
Author.
Solution
Add the package to an ASP.NET Core app and use the editor from a Razor view. Sanitization is part of the published package, according to its NuGet description.
Security
The NuGet description says the editor sanitizes HTML automatically. This page does not claim a review of that sanitizer.
Technology
- C#
- ASP.NET Core
- Razor
- JavaScript
Outcome
Published on NuGet as RazorRichText 10.0.1.