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

Bug when entering certain HTML in html mode

1 Answer 53 Views
Editor
This is a migrated thread and some comments may be shown as answers.
Eric
Top achievements
Rank 1
Eric asked on 21 Nov 2014, 06:58 PM
Hello,
By some fluke, I discovered an issue with RadEditor when certain HTML is entered into the editor. This only came to my attention when one of the users of our web app notified me of browsers crashing when trying to load the content into the editor. After investigating, I created a reproducible sample than breaks the editor on Telerik's demo page, as well as the editor in my own app.

here is the offending html: careful

<span style="color: #ff0000;">Test</span> Some content "really long text here; some more stuff here

Enter this html into the HTML view of the rad editor here:
http://demos.telerik.com/aspnet-ajax/editor/examples/overview/defaultcs.aspx

Careful tho, this will probably crash your browser.

I suspect the issue is caused by whatever parser is trying to interpret that html, and it chokes on it. The real offender is the quote before 'really'. If i remove that, it seems to not be an issue. In the meantime, i removed the quote from the content so my user could edit the content. But I figured I would post the problem here so it can be fixed for future releases.

Thanks!

1 Answer, 1 is accepted

Sort by
0
Marin Bratanov
Telerik team
answered on 25 Nov 2014, 03:21 PM
Hi Eric,

Could you try the workaround posted here: http://feedback.telerik.com/Project/108/Feedback/Details/144446-fix-page-is-unresponsive-when-stripcssexpressions-filter-is-enabled-and-radeditor? We will try to fix the issue for the upcoming Q3 2014 SP1 release.


Regards,
Marin Bratanov
Telerik
 

Check out the Telerik Platform - the only platform that combines a rich set of UI tools with powerful cloud services to develop web, hybrid and native mobile apps.

 
Tags
Editor
Asked by
Eric
Top achievements
Rank 1
Answers by
Marin Bratanov
Telerik team
Share this question
or