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

Extra blank line is added for radeditor

3 Answers 177 Views
Editor
This is a migrated thread and some comments may be shown as answers.
Rahul Khinvasara
Top achievements
Rank 1
Rahul Khinvasara asked on 18 Jan 2010, 10:46 AM
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

3 Answers, 1 is accepted

Sort by
0
Rumen
Telerik team
answered on 18 Jan 2010, 04:58 PM
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.
0
Ted
Top achievements
Rank 1
answered on 21 Feb 2011, 03:16 PM
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.
0
Rumen
Telerik team
answered on 21 Feb 2011, 05:29 PM
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!
Tags
Editor
Asked by
Rahul Khinvasara
Top achievements
Rank 1
Answers by
Rumen
Telerik team
Ted
Top achievements
Rank 1
Share this question
or