Can anyone recommend a free HTML Editor control? I am having a hard time finding one. I know I am asking the world, but one that is not that hard to configure. Help as always is appreciated.
Basically no configuration necessary. Install it using NuGet Package Manager. Add the script references to pages that will use it and add a css class of "ckeditor" to the textareas you want it applied to.
Mark all posts that give the desired result the answer. If you only mark the last that gave you clarification because you misread an earlier post others will be confused. Some of us are here to help others and our point to post ratio matters.
As for this issue, if you are familiar with the AjaxControlToolkit, you could try to use AJAX Control Toolkit HtmlEditorExtender, more details about how to use it, please refer to these links:
.NET forums are moving to a new home on Microsoft Q&A, we encourage you to go to Microsoft Q&A for .NET for posting new questions and get involved today.
I completely forgot about that. Thank you. I did put it in there but I am getting an error about the sanitizer is not configured in the web.config file. Either install the AjaxControlToolKit.htmleditor.sanitizer NuGet package or set the EnableSatnizitaton
property to False(insecure). What is your suggestion?
I did put it in there but I am getting an error about the sanitizer is not configured in the web.config file. Either install the AjaxControlToolKit.htmleditor.sanitizer NuGet package or set the EnableSatnizitaton property to False(insecure). What is your
suggestion?
I suggest you could refer to the following steps:
You will need to download the HtmlAgilityPack.dll from the following download location.
Next you need add the following Section in the ConfigSections tag of the Web.Config file.
Finally you need to place the following Sanitizer tag in the System.Web section of the Web.Config file.
After completion of the above steps, the Web.Config file should look as below.
.NET forums are moving to a new home on Microsoft Q&A, we encourage you to go to Microsoft Q&A for .NET for posting new questions and get involved today.
Member
51 Points
247 Posts
HTML Editor for VB.net
Jan 03, 2017 06:29 PM|Nighthawk0712|LINK
Hello,
Can anyone recommend a free HTML Editor control? I am having a hard time finding one. I know I am asking the world, but one that is not that hard to configure. Help as always is appreciated.
Thank you,
Bob
Contributor
7048 Points
2189 Posts
Re: HTML Editor for VB.net
Jan 03, 2017 06:56 PM|ryanbesko|LINK
Do you mean a WYSIWYG editor that runs in the end-user's browser? If yes than mentioning VB.Net is irrelevant. Editors run in the browser.
Try CKEditor:
http://ckeditor.com/
Basically no configuration necessary. Install it using NuGet Package Manager. Add the script references to pages that will use it and add a css class of "ckeditor" to the textareas you want it applied to.
All-Star
45489 Points
7008 Posts
Microsoft
Re: HTML Editor for VB.net
Jan 04, 2017 07:48 AM|Zhi Lv - MSFT|LINK
Hi Bob,
As for this issue, if you are familiar with the AjaxControlToolkit, you could try to use AJAX Control Toolkit HtmlEditorExtender, more details about how to use it, please refer to these links:
http://www.aspsnippets.com/Articles/ASPNet-AJAX-Control-Toolkit-HtmlEditorExtender-Example.aspx
Besides, you could also try to use WYSIWYG html editor for .NET
Best regards,
Dillion
Member
51 Points
247 Posts
Re: HTML Editor for VB.net
Jan 04, 2017 04:04 PM|Nighthawk0712|LINK
Zhi,
I completely forgot about that. Thank you. I did put it in there but I am getting an error about the sanitizer is not configured in the web.config file. Either install the AjaxControlToolKit.htmleditor.sanitizer NuGet package or set the EnableSatnizitaton property to False(insecure). What is your suggestion?
Thank you
All-Star
45489 Points
7008 Posts
Microsoft
Re: HTML Editor for VB.net
Jan 05, 2017 02:15 AM|Zhi Lv - MSFT|LINK
Hi Bob,
I suggest you could refer to the following steps:
You will need to download the HtmlAgilityPack.dll from the following download location.
Next you need add the following Section in the ConfigSections tag of the Web.Config file.
Finally you need to place the following Sanitizer tag in the System.Web section of the Web.Config file.
After completion of the above steps, the Web.Config file should look as below.
More details, see:
http://www.aspsnippets.com/Articles/AJAX-Control-Toolkit-HtmlEditorExtender-Sanitizer-provider-is-not-configured-in-the-WebConfig-file.aspx
https://forums.asp.net/t/1824233.aspx
Best regards,
Dillion
Member
51 Points
247 Posts
Re: HTML Editor for VB.net
Jan 17, 2017 05:19 PM|Nighthawk0712|LINK
Thank you for your help. That worked out perfectly. Not a bad little HTML Editor.