I have a question for the HTML Editor control I'm using.....when using option to paste from MS Word, it has a popup with message. Is there a way to update the message?
It says something like
"mywebisiteurl.com says
Pasting from MS Word is switched on. Just Now: User Ctrl-V.
Is there a way to remove the top line to not include the URL...or update this message entirely?
Also, if copying from word, its concatenating words where there's a break...haven't been able to solve this unless user pastes into notepad first and then from there copy/paste into this editor. Are there other editor controls that work better? Thanks.
Also, if copying from word, its concatenating words where there's a break...haven't been able to solve this unless user pastes into notepad first and then from there copy/paste into this editor. Are there other editor controls that work better?
As far as I know, the AJAX HTML Editor control is outdated, the latest should be the HtmlEditorExtender control.
This is my test result, I did not encounter the problem you said.
.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.
Ok so I downloaded the latest ajaxtoolkit and referencing the HTMLExtender control; however, the SanitizerProviders.dll and HtmlAgilityPack.dll do not get added automatically....I'm trying to search Nuget and added the AjaxControlToolkit.HtmlEditor.Sanitizer reference.
Adding the following sections in the config gives an error stating the <stystem.web> has an invalid child <sanitizer. Any ideas on how to fix this? So I have the following added to my config
The control shows fine when used in aspx page directly. However, I have bootstrap tabs inside a modal pop up control and inside one of these tabs I have the control....so when I open the modal window, the control initially doesn't load but shows gray vertical
line,which when hovered over, shows the buttons I'm using from toolbar. When a postback occurs when changing dropdown list item from the same tab where control is then it loads fine. I tried setting the textbox.Text property in the page Load event but that
doesn't seem to work....any ideas on how to have the control loaded automatically in the tab pane on the modal popup?
Member
95 Points
427 Posts
AJAX HTML Editor control....
May 13, 2020 08:24 PM|inkaln|LINK
I have a question for the HTML Editor control I'm using.....when using option to paste from MS Word, it has a popup with message. Is there a way to update the message?
It says something like
"mywebisiteurl.com says
Pasting from MS Word is switched on. Just Now: User Ctrl-V.
Is there a way to remove the top line to not include the URL...or update this message entirely?
Also, if copying from word, its concatenating words where there's a break...haven't been able to solve this unless user pastes into notepad first and then from there copy/paste into this editor. Are there other editor controls that work better? Thanks.
Contributor
5961 Points
2466 Posts
Re: AJAX HTML Editor control....
May 14, 2020 01:43 AM|KathyW|LINK
"mywebisiteurl.com says"
Try it in different browsers. Some browsers identify the source of an alert. You can't change that.
Contributor
3370 Points
1409 Posts
Re: AJAX HTML Editor control....
May 14, 2020 02:59 AM|samwu|LINK
Hi inkakln,
As far as I know, the AJAX HTML Editor control is outdated, the latest should be the HtmlEditorExtender control.
This is my test result, I did not encounter the problem you said.
More information about HTMLEditorExtender you can refer to this link:
https://ajaxcontroltoolkit.devexpress.com/HtmlEditorExtender/HtmlEditorExtender.aspx
Best regards,
Sam
Contributor
3140 Points
983 Posts
Re: AJAX HTML Editor control....
May 14, 2020 05:53 AM|Yang Shen|LINK
Hi inkaln,
Based on your description, I cannot reproduce your problem.
The browsers I tried include the following :
Please provide sample code that can reproduce the issue.
And since this issue might be related to browser and security settings, please provide the browser you are using to test and its version too.
Best Regard,
Yang Shen
Member
95 Points
427 Posts
Re: AJAX HTML Editor control....
May 14, 2020 05:54 PM|inkaln|LINK
Ok so I downloaded the latest ajaxtoolkit and referencing the HTMLExtender control; however, the SanitizerProviders.dll and HtmlAgilityPack.dll do not get added automatically....I'm trying to search Nuget and added the AjaxControlToolkit.HtmlEditor.Sanitizer reference. Adding the following sections in the config gives an error stating the <stystem.web> has an invalid child <sanitizer. Any ideas on how to fix this? So I have the following added to my config
<configSections>
<section name="ajaxControlToolkit" type="AjaxControlToolkit.AjaxControlToolkitConfigSection, AjaxControlToolkit" />
<sectionGroup name="system.web">
<section name="sanitizer"
requirePermission="false"
type="AjaxControlToolkit.Sanitizer.ProviderSanitizerSection,
AjaxControlToolkit"/>
</sectionGroup>
</configSections>
.....
Member
95 Points
427 Posts
Re: AJAX HTML Editor control....
May 14, 2020 10:41 PM|inkaln|LINK
I use the HTMLExtender instead now....seems to have fixed issue in this control.
Member
95 Points
427 Posts
Re: AJAX HTML Editor control....
May 14, 2020 10:45 PM|inkaln|LINK
The control shows fine when used in aspx page directly. However, I have bootstrap tabs inside a modal pop up control and inside one of these tabs I have the control....so when I open the modal window, the control initially doesn't load but shows gray vertical line,which when hovered over, shows the buttons I'm using from toolbar. When a postback occurs when changing dropdown list item from the same tab where control is then it loads fine. I tried setting the textbox.Text property in the page Load event but that doesn't seem to work....any ideas on how to have the control loaded automatically in the tab pane on the modal popup?