SpiceLogic.HtmlEditor.WPF
3.0.8
.NET 5.0
This package targets .NET 5.0. The package is compatible with this framework or higher.
.NET Framework 4.5
This package targets .NET Framework 4.5. The package is compatible with this framework or higher.
dotnet add package SpiceLogic.HtmlEditor.WPF --version 3.0.8
NuGet\Install-Package SpiceLogic.HtmlEditor.WPF -Version 3.0.8
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="SpiceLogic.HtmlEditor.WPF" Version="3.0.8" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="SpiceLogic.HtmlEditor.WPF" Version="3.0.8" />
<PackageReference Include="SpiceLogic.HtmlEditor.WPF" />
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 SpiceLogic.HtmlEditor.WPF --version 3.0.8
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: SpiceLogic.HtmlEditor.WPF, 3.0.8"
#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 SpiceLogic.HtmlEditor.WPF@3.0.8
#: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=SpiceLogic.HtmlEditor.WPF&version=3.0.8
#tool nuget:?package=SpiceLogic.HtmlEditor.WPF&version=3.0.8
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
SpiceLogic WPF HTML Editor Control
A ready-to-use, MVVM-optimized WYSIWYG HTML Editor control for WPF applications.
Features
- WYSIWYG HTML Editing with clean HTML/XHTML output
- MVVM Support with full two-way data binding (
BodyHtml,DocumentHtml) - Built-in Spell Checker with inline and dialog modes (OpenOffice dictionaries)
- MS Word Paste with automatic cleanup and conversion
- Image Handling - insert from file, URL, or clipboard with Base64 embedding
- Table Editor - create, modify, and style HTML tables
- YouTube Embedding - insert YouTube videos directly
- FTP Image Upload - upload local images to remote server
- Customizable Toolbar with modern vector graphic buttons that scale across all DPI settings
- CSS Style Support - apply inline and class-based styles
- Comprehensive API - caret positioning, HTML change events, custom paste handling
Installation
NuGet Package Manager
Install-Package SpiceLogic.HtmlEditor.WPF
.NET CLI
dotnet add package SpiceLogic.HtmlEditor.WPF
Package Reference
<PackageReference Include="SpiceLogic.HtmlEditor.WPF" />
Quick Start
XAML
<Window xmlns:wpfHtmlEditor="clr-namespace:SpiceLogic.WpfHtmlEditor;assembly=SpiceLogic.HtmlEditor.WPF"
Title="My Editor" Height="600" Width="900">
<Grid>
<wpfHtmlEditor:WpfHtmlEditor x:Name="HtmlEditor1" Margin="10" />
</Grid>
</Window>
Code-Behind
public partial class MainWindow : Window
{
public MainWindow()
{
InitializeComponent();
SpiceLogic.WpfHtmlEditor.WpfHtmlEditor.LicenseKey = "YOUR LICENSE KEY HERE";
// Set initial content
HtmlEditor1.BodyHtml = "<p>Hello <strong>World</strong>!</p>";
}
private void SaveDocument()
{
string html = HtmlEditor1.DocumentHtml;
File.WriteAllText("output.html", html);
}
}
MVVM Data Binding
<wpfHtmlEditor:WpfHtmlEditor BodyHtml="{Binding MyHtmlContent, Mode=TwoWay}" />
Supported Frameworks
| Framework | Status |
|---|---|
| .NET Framework 4.5 | Supported |
| .NET Framework 4.7.2 | Supported |
| .NET Framework 4.8 | Supported |
| .NET 5 (Windows) | Supported |
| .NET 6 (Windows) | Supported |
| .NET 7 (Windows) | Supported |
| .NET 8 (Windows) | Supported |
| .NET 9 (Windows) | Supported |
| .NET 10 (Windows) | Supported |
Documentation
For full documentation, samples, and API reference, visit: https://spicelogic.com/Products/WPF-HTML-Editor-Control-17
License
Commercial license with 7-day free trial. View EULA - SpiceLogic Inc.
Support
- Website: spicelogic.com
- Email: support@spicelogic.com
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net5.0-windows7.0 is compatible. net6.0-windows was computed. net6.0-windows7.0 is compatible. net7.0-windows was computed. net7.0-windows7.0 is compatible. net8.0-windows was computed. net8.0-windows7.0 is compatible. net9.0-windows was computed. net9.0-windows7.0 is compatible. net10.0-windows was computed. net10.0-windows7.0 is compatible. |
| .NET Framework | net45 is compatible. net451 was computed. net452 was computed. net46 was computed. net461 was computed. net462 was computed. net463 was computed. net47 was computed. net471 was computed. net472 is compatible. net48 is compatible. net481 was computed. |
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.
-
.NETFramework 4.5
- Unofficial.Microsoft.mshtml.NetStandard (>= 7.0.3300.2)
-
.NETFramework 4.7.2
- Unofficial.Microsoft.mshtml.NetStandard (>= 7.0.3300.2)
- WeCantSpell.Hunspell (>= 5.1.0)
-
.NETFramework 4.8
- Unofficial.Microsoft.mshtml.NetStandard (>= 7.0.3300.2)
- WeCantSpell.Hunspell (>= 5.1.0)
-
net10.0-windows7.0
- Unofficial.Microsoft.mshtml.NetStandard (>= 7.0.3300.2)
- WeCantSpell.Hunspell (>= 5.1.0)
-
net5.0-windows7.0
- Unofficial.Microsoft.mshtml.NetStandard (>= 7.0.3300.2)
- WeCantSpell.Hunspell (>= 5.1.0)
-
net6.0-windows7.0
- Unofficial.Microsoft.mshtml.NetStandard (>= 7.0.3300.2)
- WeCantSpell.Hunspell (>= 5.1.0)
-
net7.0-windows7.0
- Unofficial.Microsoft.mshtml.NetStandard (>= 7.0.3300.2)
- WeCantSpell.Hunspell (>= 5.1.0)
-
net8.0-windows7.0
- System.Drawing.Common (>= 9.0.0)
- Unofficial.Microsoft.mshtml.NetStandard (>= 7.0.3300.2)
- WeCantSpell.Hunspell (>= 5.1.0)
-
net9.0-windows7.0
- Unofficial.Microsoft.mshtml.NetStandard (>= 7.0.3300.2)
- WeCantSpell.Hunspell (>= 5.1.0)
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.