BlazorRTE 1.0.2
dotnet add package BlazorRTE --version 1.0.2
NuGet\Install-Package BlazorRTE -Version 1.0.2
<PackageReference Include="BlazorRTE" Version="1.0.2" />
<PackageVersion Include="BlazorRTE" Version="1.0.2" />
<PackageReference Include="BlazorRTE" />
paket add BlazorRTE --version 1.0.2
#r "nuget: BlazorRTE, 1.0.2"
#:package BlazorRTE@1.0.2
#addin nuget:?package=BlazorRTE&version=1.0.2
#tool nuget:?package=BlazorRTE&version=1.0.2
BlazorRTE - Professional Rich Text Editor for Blazor
Native Blazor • 51 Features • Zero JavaScript Dependencies • Production-Ready
🚀 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, orInteractiveAuto
🎯 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:
- 📧 Email: licensing@loneworx.com
- 🌐 Website: https://www.loneworx.com (Coming Soon)
- 📁 GitHub: https://github.com/simscon1/BlazorRTE
🛠️ 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
- Heroicons - Beautiful SVG icons (MIT License)
- Material Icons - Link icon (Apache 2.0)
Built with ❤️ for the Blazor community by LoneWorx LLC
| Product | Versions 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. |
-
net10.0
- Microsoft.AspNetCore.Components.Web (>= 10.0.2)
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.
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