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
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.