Bug when entering certain HTML in html mode

2 posts, 0 answers
  1. Eric
    Eric avatar
    16 posts
    Member since:
    Feb 2013

    Posted 21 Nov 2014 Link to this post

    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:

    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.

  2. Marin Bratanov
    Marin Bratanov avatar
    3562 posts

    Posted 25 Nov 2014 Link to this post

    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.

    Marin Bratanov

    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.

  3. DevCraft R3 2016 release webinar banner
Back to Top