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

[Solved] Indent HTML and   characters

1 Answer 46 Views
RadEditor
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
Søren Møller Hansen
Top achievements
Rank 1
Søren Møller Hansen asked on 22 Feb 2006, 10:33 AM
BUG:
When I click the "Indent HTML" any   tags disapears or rather they are rendered as a real   tag.

Best regards,
Søren

1 Answer, 1 is accepted

Sort by
0
Erjan Gavalji
Telerik team
answered on 23 Feb 2006, 06:12 PM
Hi Søren,

I'm sorry for the unexpected behavior of r.a.d.editor. Although the main content is not affected (after switching to design mode the non-breaking spaces are restored), it is somewhat confusing. Let me put some light:

The Html mode container of r.a.d.editor is a standard textarea, where the   characters do not have the meaning of spaces. When we apply the indentation logic, these are being converted to simple spaces instead of remaining   characters.

What we have to do is to convert them back to   characters, but this will have two side effects:
  • having long consequences of   characters could be hard to read by users;
  • when the content is large, this conversion might harm the browser (you might have noticed that when there is a large text in the content area, the indentation already takes some time to finish)

Anyways, your request is logged to our bug tracking system and we will do our best to find an appropriate solution.

Cheers,
Jorje
the telerik team
Tags
RadEditor
Asked by
Søren Møller Hansen
Top achievements
Rank 1
Answers by
Erjan Gavalji
Telerik team
Share this question
or