Avalonia.Controls.RichTextEditor
12.1.2
Prefix Reserved
dotnet add package Avalonia.Controls.RichTextEditor --version 12.1.2
NuGet\Install-Package Avalonia.Controls.RichTextEditor -Version 12.1.2
<PackageReference Include="Avalonia.Controls.RichTextEditor" Version="12.1.2" />
<PackageVersion Include="Avalonia.Controls.RichTextEditor" Version="12.1.2" />
<PackageReference Include="Avalonia.Controls.RichTextEditor" />
paket add Avalonia.Controls.RichTextEditor --version 12.1.2
#r "nuget: Avalonia.Controls.RichTextEditor, 12.1.2"
#:package Avalonia.Controls.RichTextEditor@12.1.2
#addin nuget:?package=Avalonia.Controls.RichTextEditor&version=12.1.2
#tool nuget:?package=Avalonia.Controls.RichTextEditor&version=12.1.2
Avalonia.Controls.RichTextEditor
A rich text editing control for Avalonia UI applications. Provides a FlowDocumentScrollViewer for read-only display and a RichTextEditor control with full editing, selection, keyboard/mouse handling, undo/redo, and extensible highlighting.
Features
- RichTextEditor control with full editing support
- FlowDocumentScrollViewer for read-only document rendering
- Keyboard and mouse input handling
- Caret and selection management
- Extensible highlight layers
- Block adorner system
- Editor toolbar with overflow menu support
Quick Start
<RichTextEditor>
<FlowDocument>
<Paragraph>
<Run>Hello, rich text!</Run>
</Paragraph>
</FlowDocument>
</RichTextEditor>
Dependencies
Avalonia.Controls.Documents
Documentation
See the documentation for more details.
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net8.0 is compatible. net8.0-android was computed. net8.0-browser was computed. net8.0-ios was computed. net8.0-maccatalyst was computed. net8.0-macos was computed. net8.0-tvos was computed. net8.0-windows was computed. net9.0 was computed. net9.0-android was computed. net9.0-browser was computed. net9.0-ios was computed. net9.0-maccatalyst was computed. net9.0-macos was computed. net9.0-tvos was computed. net9.0-windows was computed. 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
- Avalonia (>= 12.0.3)
- Avalonia.Controls.ColorPicker (>= 12.0.3)
- Avalonia.Controls.Documents (>= 12.1.2)
- Avalonia.Controls.Documents.Serialization.Rtf (>= 12.1.2)
- AvaloniaUI.Licensing (>= 3.0.8)
-
net8.0
- Avalonia (>= 12.0.3)
- Avalonia.Controls.ColorPicker (>= 12.0.3)
- Avalonia.Controls.Documents (>= 12.1.2)
- Avalonia.Controls.Documents.Serialization.Rtf (>= 12.1.2)
- AvaloniaUI.Licensing (>= 3.0.8)
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.
## 12.1.2
### Fixes
- The alignment flyout now dismisses automatically after an alignment is chosen.
- Superscript and subscript can now be springloaded on an empty caret, so toggling them with no selection affects the next text you type.
- When Backspace merges a paragraph into the one before it, the caret is now anchored to the previous paragraph at the merge point.
- The formatting toolbar now reflects the caret's formatting immediately after Backspace or Delete instead of lagging by one keystroke.