BlazorRTE 1.0.2

dotnet add package BlazorRTE --version 1.0.2
                    
NuGet\Install-Package BlazorRTE -Version 1.0.2
                    
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="BlazorRTE" Version="1.0.2" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="BlazorRTE" Version="1.0.2" />
                    
Directory.Packages.props
<PackageReference Include="BlazorRTE" />
                    
Project file
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add BlazorRTE --version 1.0.2
                    
#r "nuget: BlazorRTE, 1.0.2"
                    
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
#:package BlazorRTE@1.0.2
                    
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=BlazorRTE&version=1.0.2
                    
Install as a Cake Addin
#tool nuget:?package=BlazorRTE&version=1.0.2
                    
Install as a Cake Tool

BlazorRTE - Professional Rich Text Editor for Blazor

Native Blazor • 51 Features • Zero JavaScript Dependencies • Production-Ready

License

🚀 Quick Start

⚠️ Important: BlazorRTE requires interactive rendering for Blazer Server apps. Add @rendermode InteractiveServer to your page.

Installation

dotnet add package BlazorRTE

Basic Usage

@page "/editor" 

@using BlazorRTE.Components 
@rendermode InteractiveServer  @* Required for JS interop! *@

<RichTextEditor @bind-Value="@content" Placeholder="Start typing..." />

@code { private string content = ""; }

Important: BlazorRTE requires interactive rendering. Add @rendermode InteractiveServer to your page or component.

Why is @rendermode required?

  • BlazorRTE uses JavaScript interop for contenteditable functionality
  • Static SSR mode won't work - the component needs client-side interactivity
  • Supported modes: InteractiveServer, InteractiveWebAssembly, or InteractiveAuto

🎯 Features

  • ✅ Rich text formatting (Bold, Italic, Underline, Strikethrough)
  • ✅ Headings, Lists, Alignment
  • ✅ Text & Highlight Colors
  • ✅ Links, Horizontal Rules
  • ✅ Font Family & Size
  • ✅ Undo/Redo
  • ✅ Character & Word Count
  • WCAG 2.1 AA Compliant - Full accessibility support
  • Industry Standard UX - Follows Word/Google Docs patterns

📖 See ACCESSIBILITY.md for detailed compliance information.

📖 Documentation

Full API Documentation: Docs/FEATURES.md

Component Parameters

[Parameter] public string Value { get; set; } 
[Parameter] public EventCallback<string> ValueChanged { get; set; } 
[Parameter] public string Placeholder { get; set; } = "Type your message..."; 
[Parameter] public bool ShowToolbar { get; set; } = true; 
[Parameter] public int MaxLength { get; set; } = 5000;
[Parameter] public bool ShowCharacterCount { get; set; } = true; 
[Parameter] public string AriaLabel { get; set; } = "Rich text editor";

Public Methods

await ClearAsync();           // Clear all content
await FocusAsync();           // Focus the editor
string text = GetPlainText(); // Get plain text without HTML

Height Control

 <RichTextEditor @bind-Value="@content" />
 <RichTextEditor MinHeight="300px" MaxHeight="800px" />
 <RichTextEditor MinHeight="300" MaxHeight="800" />

⌨️ Keyboard Shortcuts

Shortcut Action
Ctrl+B Bold
Ctrl+I Italic
Ctrl+U Underline
Ctrl+Z Undo
Ctrl+Y Redo
Ctrl+Shift+Z Redo (alternative)

Toolbar Navigation

Key Action
Tab Enter/exit toolbar
/ Move between toolbar buttons
Home / End Jump to first/last button

📜 License

Community Edition (Free - GPL v3)

  • ✅ All 51 features included
  • ✅ Free for open-source projects
  • ✅ Community support via GitHub Issues
  • ⚠️ GPL v3 Requirement: Your application must also be open-source under GPL v3

See LICENSE.txt for full GPL v3 terms.

Commercial License (Coming in v1.1.0)

For proprietary/closed-source applications, commercial licensing will be available in version 1.1.0.

Planned pricing tiers:

  • Professional (~$79-99/year): Commercial license + email support
  • Business (~$149-199/year): Priority support + phone/video
  • Enterprise (~$499+/year): Source code + custom development + SLA

For early access or enterprise licensing inquiries:

🛠️ Development

Build from Source

git clone https://github.com/simscon1/BlazorRTE.git cd BlazorRTE dotnet build

🤝 Contributing

Contributions are welcome! Please submit pull requests to our GitHub repository.

📞 Support

  • Community (GPL v3): GitHub Issues
  • Commercial Inquiries: licensing@loneworx.com

🙏 Acknowledgments


Built with ❤️ for the Blazor community by LoneWorx LLC

Product Compatible and additional computed target framework versions.
.NET net10.0 is compatible.  net10.0-android was computed.  net10.0-browser was computed.  net10.0-ios was computed.  net10.0-maccatalyst was computed.  net10.0-macos was computed.  net10.0-tvos was computed.  net10.0-windows was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
1.0.2 45 2/2/2026
1.0.1 45 1/30/2026
1.0.0 41 1/29/2026

v1.0.2 Accessibility Improvements:

ADDED:
- Full keyboard navigation for toolbar (WAI-ARIA Toolbar Pattern)
- Arrow keys to navigate between toolbar buttons
- Home/End keys to jump to first/last button
- Roving tabindex implementation
- data-toolbar-item attributes for reliable button targeting

IMPROVED:
- Tab now properly enters toolbar at Undo button
- Tab exits toolbar to editor content area
- Heading dropdown works with Up/Down arrow keys
- Left/Right arrows no longer change dropdown values
- Highlight color button icon now perfectly square (18x18px)

DOCUMENTATION:
- Added keyboard navigation section to ACCESSIBILITY.md
- Added keyboard shortcuts table to README.md
- Documented toolbar navigation keys

See full changelog at: https://github.com/simscon1/BlazorRTE/blob/master/CHANGELOG.md