Extra blank line is added for radeditor

4 posts, 0 answers
  1. Rahul Khinvasara
    Rahul Khinvasara avatar
    303 posts
    Member since:
    Aug 2007

    Posted 18 Jan 2010 Link to this post

    Hello,
    We are using Telerik radEditor in IE( version 8). After setting a template to the editor, when we press "Save" button in application, extra blank lines get appended to the editor content. We tried removing them manually & save in the database. But the problem still persists.  The problem continues even when we switch from design mode to HTML mode of radeditor.This problem appears when we add template to the editor. However the problem not appears for every template but for perticular template.

    The steps when we encountered the problem -
    1) inserted a standard template to radeditor in design mode and removed the spaces manually.
    2) then switched to html mode,we found extra <br> added at the end. We again switched to design mode, we found extra blank lines added.
    3) We repeated above steps 3/4 times,but faced same problem.

    Please Provide us the solution for the same.       

    Regards,
    Rahul K
  2. Rumen
    Admin
    Rumen avatar
    12846 posts

    Posted 18 Jan 2010 Link to this post

    Hi Rahul,

    If the problem exists only in IE8 then this is something specific to the template that you load in the editor. Please, open a support ticket and send the template HTML file for examination. I will examine it and see what is causing the problem in the content.

    In the meantime you can disable the RadEditor content filters and see whether the issue still persists:

    <telerik:RadEditor ID="RadEditor1" runat="Server" ContentFilters="none"></telerik:RadEditor>

    Best regards,
    Rumen
    the Telerik team

    Instantly find answers to your questions on the new Telerik Support Portal.
    Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
  3. UI for ASP.NET Ajax is Ready for VS 2017
  4. Ted
    Ted avatar
    47 posts
    Member since:
    Jan 2008

    Posted 21 Feb 2011 Link to this post

    Where you able to find what was causing this?  I added the contentFilters fix and that seemed to take care of the issue but just curious if anything was found or fixed for this issue.
  5. Rumen
    Admin
    Rumen avatar
    12846 posts

    Posted 21 Feb 2011 Link to this post

    Hello Ted,

    No, because you did not provide the requested template file and instructions how to reproduce the problem.
    The problem is most likely due to non well formed HTML content which misleads the ConvertToXhtml content filter of RadEditor.

    Regards,
    Rumen
    the Telerik team
    Registration for Q1 2011 What’s New Webinar Week is now open. Mark your calendar for the week starting March 21st and book your seat for a walk through all the exciting stuff we ship with the new release!
Back to Top