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

[Solved] Issues with span tags

1 Answer 133 Views
Editor
This is a migrated thread and some comments may be shown as answers.
Rich
Top achievements
Rank 1
Rich asked on 06 Dec 2007, 03:33 PM
Hi, It appears as though the RadEditor now converts all span tags to font tags for background use and then back again when retrieving content.

This is a real issue because when debugging the javascript the spans are not event replicated completley, IDs are lost for example.

Has anyone found a way around this.

Telerik, do you have a solution?

Thanks in advance...

1 Answer, 1 is accepted

Sort by
0
George
Telerik team
answered on 07 Dec 2007, 02:53 PM
Hi Rich,

I have already replied your support ticket. For convenience I am pasting my reply below:

The browser engine uses Font tags for commands such as FontName, FontSize, ForeColor BackColor. However, FONT tags are not XHTML compliant. This is why the editor converts FONT tags to SPAN and vice versa - SPAN need to be converted to FONT so that the browser engine can execute commands efficiently and avoid producing too many nested tags.

As I have already replied to your colleague, I have logged the problem in our ToDo list with a hight priority for the next Q3 release - we will make sure that all tag attributes are properly copied.



Best wishes,
George
the Telerik team

Instantly find answers to your questions at the new Telerik Support Center
Tags
Editor
Asked by
Rich
Top achievements
Rank 1
Answers by
George
Telerik team
Share this question
or