Issue with Iframe mode and HTML tag

4 posts, 0 answers
  1. Dave
    Dave avatar
    38 posts
    Member since:
    Jul 2007

    Posted 18 Dec 2013 Link to this post

    Hi,

    I believe I have found a bug in the RadEditor and I can reproduce it in the Editor demo on your demo site. I have reproduced it in Firefox and Chrome, although they give different javascript errors. Here what you can do to reproduce the error:

    1. Go to the Overview of the Rad Editor demo
    2. Switch the editor to HTML mode
    3. Add <html> as the first line before "<h2 class="titletext">......"
    4. Switch to Design mode
    5. Uncheck any of the checkboxes under "Change Edit Mode"

    When the AJAX callback is done, a javascript error will appear and your change will not be displayed (if you unselected "HTML Mode", the HTML tab will still be on the editor).

    In Firefox, the error is:   TypeError: c._events is undefined
    In Chrome, the error is:  TypeError: Cannot read property 'keypress' of undefined.

    this appears to only be an issue while the ContentAreaMode is set to IFrame. I could not reproduce it with the mode set to Div. However, we have a situation where the mode must be set to IFrame to achieve the features weneed, so simply switching the modes will not work for us.

    We are currently using version 2013.1114.40 and experience this issue. We recently upgraded from 2012.1.0320.40 where we did not experience this problem.

    Any help would be greatly appreciated. 

  2. Ianko
    Admin
    Ianko avatar
    1535 posts

    Posted 21 Dec 2013 Link to this post

    Hello David,

    I tried to reproduce the problem with this live example, but to no avail. Please get back to me with the exact HTML content and the exact steps leading to the described problem. It would be appreciated if you are able to provide a screencast of the steps, so that I could be sure of the exact scenario with which this behavior occurs. 

    Regards,
    Ianko
    Telerik
    If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to the blog feed now.
  3. UI for ASP.NET Ajax is Ready for VS 2017
  4. Dave
    Dave avatar
    38 posts
    Member since:
    Jul 2007

    Posted 06 Jan 2014 Link to this post

    Ianko,

    I followed my steps on the live example you provided and got the error message in chrome. After I followed my first 4 steps, whenever I unchecked any of the checkboxes under "Change Edit Mode", the checkbox would uncheck, but the corresponding tab on the editor does not disappear. So follow steps 1 through 4 and then uncheck "Preview Mode". The callback will occur, the javascript error will appear and the "Preview" tab on the editor will not disappear. 

    Having an <html> tag in the editor appears to be breaking the page. I have reproduced it in Chrome, Firefox and IE 9 & 10.
  5. Ianko
    Admin
    Ianko avatar
    1535 posts

    Posted 09 Jan 2014 Link to this post

    Hello David,

    I can confirm that this is a bug and I brought this matter to the developer team.

    We are going to investigate thoroughly this issue. As appreciation for your  report I am updating your Telerik points.

    You can track the status of this task by following this feedback portal item, in which you can also vote, comment and use the provided possible solution for your project.

    Regards,
    Ianko
    Telerik
    If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to the blog feed now.
Back to Top