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

Preformatted text in RadEditor in FireFox

3 Answers 92 Views
Editor
This is a migrated thread and some comments may be shown as answers.
Brandon Worrell
Top achievements
Rank 1
Brandon Worrell asked on 15 Apr 2008, 06:52 PM
We're having issues with preformatted text in the RadEditor when using FireFox 2.0. We're using the RadEditor for a documentation site where we need to display source code (C#, xml markup, etc). We're trying to use the <pre> tags to format this code. When we wrap content in <pre> tags and switch between design and code views in FireFox, <br /> tags are added where line breaks used to be. In other words:

<pre>asdfasfd
asdfasfd
asfdasfd</pre>

gets changed to this:

<pre>asdfasfd <br />
asdfasfd<br />
asfdasfd</pre>

The same thing happens if we designate another tag, like <code> and give it a white-space:pre; style in the CSS stylesheet. The editor seems to recognize the preformatted style that's been applied and inserts the <br /> tags.

We do not seem to experience this behavior in IE7.

Thanks for your help.





3 Answers, 1 is accepted

Sort by
0
Rumen
Telerik team
answered on 18 Apr 2008, 04:03 PM
Hi Brandon,

Thank you for pointing out this behavior.

This looks like a browser problem, because it does not appear in IE. I logged the issue in our bug tracking system for further research and we will try to override this Firefox browser behavior.

We do appreciate your feedback and we updated your Telerik points.



Kind regards,
Rumen
the Telerik team

Instantly find answers to your questions at the new Telerik Support Center
0
Kristian
Top achievements
Rank 1
answered on 24 Feb 2011, 08:25 PM
I have version 2010.02.0929.35 and am still seeing this error with FireFox. Is it fixed in a later version? or is it in the queue to get fixed?

thanks,

kristian
0
Rumen
Telerik team
answered on 01 Mar 2011, 02:03 PM
Hello Kristian,

I tried to reproduce the problem in the Default Example of RadEditor but without success. You can see a video demonstrating my test at: http://screencast.com/t/HdH2bR5vxvZA.

Are you able to reproduce it in the demo which runs the latest Q3 2010 SP2 version of RadEditor? If so can you please provide steps to reproduce it in the latest Firefox version.

Best 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
Brandon Worrell
Top achievements
Rank 1
Answers by
Rumen
Telerik team
Kristian
Top achievements
Rank 1
Share this question
or