Completed
Last Updated: 24 Nov 2015 11:06 by ADMIN
ADMIN
Danail Vasilev
Created on: 24 Nov 2014 18:08
Category: Editor
Type: Bug Report
2
FIX Page is unresponsive when StripCssExpressions filter is enabled and RadEditor has particular content
For the time being you can disable the StripCssExpressions  filter:
    protected void Page_Load(object sender, EventArgs e)
    {
		RadEditor1.DisableFilter(Telerik.Web.UI.EditorFilters.StripCssExpressions);
    }

Alternative approach to fix the issue is removing the StripCssExpressions filter from the client-side filters collection, so that the server-side functionality could still sanitize the HTML content:

<telerik:RadEditor runat="server" ID="RadEditor1" OnClientInit="OnClientInit">
	
</telerik:RadEditor>

<script type="text/javascript">
	function OnClientInit(sender, args) {
		sender.set_contentFilters(sender.get_contentFilters() - Telerik.Web.UI.EditorFilters.StripCssExpressions);
	}
</script>
4 comments
ADMIN
Ianko
Posted on: 27 Jan 2015 09:27
As of 2014 Q3 SP1 version this bug is fixed. 
ADMIN
Ianko
Posted on: 02 Dec 2014 09:23
Hi, 

I added another possible workaround. You can test it and see if it works for your cases.

Regards,
Ianko
Aldert
Posted on: 26 Nov 2014 08:14
For me this quick fix did work. 
It's a real important issue since it is a show stopper for the RadEditor control!
Bill O'Neil
Posted on: 25 Nov 2014 21:03
I think its more than that - as I added the above code and it didn't fix my issue.  I had to disable all filters to resolve  the matter.