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

[Solved] Spacing/linebreaks in a list

1 Answer 79 Views
Editor
This is a migrated thread and some comments may be shown as answers.
Einar Johansen
Top achievements
Rank 1
Einar Johansen asked on 31 Aug 2009, 08:52 AM
Hi, I'm trying to add some spacing in a list element (linebreaks).

Try to add some linebreaks in the editor here: http://demos.telerik.com/aspnet-ajax/editor/examples/saveindatabase/defaultcs.aspx and then push the "Submit to database"-button. You'll se that the linebreaks gets removed.

So to the question: how can I add spacingin a list element?

1 Answer, 1 is accepted

Sort by
0
Rumen
Telerik team
answered on 02 Sep 2009, 03:52 PM
Hello Einar,

Please, put the following javascript code after the RadEditor declaration:
 
<script type="text/javascript"
Telerik.Web.UI.Editor.RemoveExtraBrakes.prototype.getHtmlContent = function(content) 
    return content; 
Telerik.Web.UI.Editor.StripJunkFilter.prototype.getHtmlContent = function(content) 
    return content; 
</script> 


and see whether the problem still persists.

Best wishes,
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.
Tags
Editor
Asked by
Einar Johansen
Top achievements
Rank 1
Answers by
Rumen
Telerik team
Share this question
or