Smith.WPF.HtmlEditor 1.0.0

Install-Package Smith.WPF.HtmlEditor -Version 1.0.0
dotnet add package Smith.WPF.HtmlEditor --version 1.0.0
<PackageReference Include="Smith.WPF.HtmlEditor" Version="1.0.0" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add Smith.WPF.HtmlEditor --version 1.0.0
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: Smith.WPF.HtmlEditor, 1.0.0"
#r directive can be used in F# Interactive, C# scripting and .NET Interactive. Copy this into the interactive tool or source code of the script to reference the package.
// Install Smith.WPF.HtmlEditor as a Cake Addin
#addin nuget:?package=Smith.WPF.HtmlEditor&version=1.0.0

// Install Smith.WPF.HtmlEditor as a Cake Tool
#tool nuget:?package=Smith.WPF.HtmlEditor&version=1.0.0
The NuGet Team does not provide support for this client. Please contact its maintainers for support.

wpf-html-editor

<a target="_blank" href="LICENSE"><img src="https://img.shields.io/badge/licence-MIT-brightgreen.svg" alt="license : MIT"></a> <a target="_blank" href="https://www.cmarix.com/wpf-wcf-web-development-services.html"><img src="https://img.shields.io/badge/framework-WPF-blue.svg" alt="framework : WPF"></a>

WYSIWYG rich text editor which enables writing content directly inside of wpf applications.

Read more on <a target="_blank" href="https://archive.codeplex.com/?p=smithhtmleditor">html editor</a>

wpf-html-editor

Installation

<a target="_blank" href="https://archive.codeplex.com/?p=smithhtmleditor">Click here</a> to get html editor related DLL. Download DLL from this link and add reference of this DLL into your WPF application.

Steps

  1. Add below assembly in your XAML page like below:

     xmlns:smith="clr-namespace:Smith.WPF.HtmlEditor;assembly=Smith.WPF.HtmlEditor"
    
  2. Insert editor using assembly name in your XAML page like below:

     <smith:HtmlEditor x:Name="htmlEditor"  />
    

Let us know!

Iā€™d be really happy if you sent us links to your projects where you use our component. Just send an email to adambarath@msn.com and do let us know if you have any questions or suggestion regarding wpf. Skype: @adambarath

Updates

2019/10/31

  1. update to NetCore 3.0

2011/05/02

  1. Add a dependency property named BindingContent to support binding html content to the editor. This property raise update notification via the StatusTextChanged event of the webbrowser control. A new window named BindingTestWindow in SmithHtmlEditor.Demo show how this property works.
  2. A stylesheet is load from the file "smithhtmleditor.stylesheet.css" to set the default style of the editing document when the control is initializing. This can help us to set how the document looks.
  3. Use the xml file "smithhtmleditor.config.xml" to setup the fonts used in the control. So we can configurate the fonts we need.
  4. Update the appearance of the editor under source mode.

2011/01/23

  1. Add HtmlDocument class and HtmlDocument.Range class for document editing instead of directly operating IHTMLDocument2 interface and System.Windows.Forms.HtmlDocument object.
  2. Update HtmlEditingExtension class to extension methods for HtmlDocument object. And some methods were moved into HtmlDocument class.
  3. Fix a bug in HtmlEditor.WordCount property.
  4. Update the HtmlEditor.ContentText property as a get-only property.
  5. The HtmlEditor.Document property is changed from type System.Windows.Forms.HtmlDocument to Smith.WPF.HtmlEditor.HtmlDocument.
  6. Add editing methods for HtmlEditor class.
  7. Add DocumentReady event for HtmlEditor class. This event will be raised after the document is ready to use. And it provides a way to load initial content to editor. See the demo.
  8. Add DocumentStateChanged event for HtmlEditor class to notify the change of document state.

2010/11/20 Upgraded the word counting algorithm and fixed a bug in color selecting.

2010/10/19 Globlization and localization feature is added into this version.

2010/10/17 It is a preview version for test and provides basic functions for common use.

License

MIT License

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
  • .NETCoreApp 3.0

    • No dependencies.
  • .NETCoreApp 3.1

    • No dependencies.
  • .NETFramework 4.6.1

    • No dependencies.
  • .NETFramework 4.6.2

    • No dependencies.
  • .NETFramework 4.7

    • No dependencies.
  • .NETFramework 4.7.1

    • No dependencies.
  • .NETFramework 4.7.2

    • No dependencies.
  • .NETFramework 4.8

    • No dependencies.

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.0 681 5/6/2020

2020/05/06
     1. extend target frameworks to netcoreapp3.0;netcoreapp3.1;net461;net462;net47;net471;net472;net48
     2. add pre-build event to do dotnet restore. Issue description at https://stackoverflow.com/questions/48440223/assets-file-project-assets-json-not-found-run-a-nuget-package-restore
     
     2019/10/31
     update to NetCore 3.0