This is a migrated thread and some comments may be shown as answers.

Error message when posting invalid HTML

1 Answer 111 Views
Editor
This is a migrated thread and some comments may be shown as answers.
Davey
Top achievements
Rank 1
Davey asked on 11 Aug 2011, 02:20 PM
We have HTML saved in our database (from before we implemented RadEditor) that includes things like: <SPAN style="FONT-SIZE: 10pt" gray;?="" color:="" arial?,?sans-serif?;="">. When the user posts with this HTML in Firefox they get an alert that looks like:

Error while executing filter ConvertFontToSpanFilter - [Exception... "String contains an invalid character"  code: "5" nsresult: "0x80530005 (NS_ERROR_DOM_INVALID_CHARACTER_ERR)"  location: "https://localhost/Subscribers/ScriptResource.axd?d=2eHYqgnVBHONfwZDen1YDcz5DZLpEQofwg799549PDgZJJmxxQIG0GJmh_GR-8UxvUyNvk5EpabsR9QxsnPoxMX4d0CJVoRiU1N2E56z93xNDv0T_o-WS_vGOOS9lTwEXhW03g2&t=ffffffff9f027b8e Line: 580"]

Is there any way we can suppress this error message?

1 Answer, 1 is accepted

Sort by
0
Dobromir
Telerik team
answered on 16 Aug 2011, 01:02 PM
Hi Davey,

I already answered your support ticket on the subject. For convenience I will paste my answer here as well:

RadEditor does not offer functionality to suppress error messages thrown by the content filters out-of-the-box. This error message indicates for a JavaScript error that has occurred during the execution of the mentioned content filter and it should not appear if the filter is disabled.

In addition, I tried to reproduce the error with disabled ConvertFontToSpan filter but to no avail. Could you please verify that you have correctly disabled the filter? You can find how to disabled a specific built-in content filter in the following help article:
Content Filters


Greetings,
Dobromir
the Telerik team

Browse the vast support resources we have to jump start your development with RadControls for ASP.NET AJAX. See how to integrate our AJAX controls seamlessly in SharePoint 2007/2010 visiting our common SharePoint portal.

Tags
Editor
Asked by
Davey
Top achievements
Rank 1
Answers by
Dobromir
Telerik team
Share this question
or