Line breaks

2 posts, 0 answers
  1. Atchuta
    Atchuta avatar
    2 posts
    Member since:
    Oct 2010

    Posted 16 Nov 2011 Link to this post


    I have been using RAD Editor for a year with out any issues. Recently I noticed, Editor is inserting additional line breaks when saving the data in html format.

    Has any one seen this issue? Please guideme in right direction to resolve this issue.

  2. Rumen
    Rumen avatar
    14431 posts

    Posted 17 Nov 2011 Link to this post

    Hello Atchuta,

    My suggestion is to disable the built-in IndentHTMLContent indentation filter of RadEditor which adds a lot of spaces to nicely indent the content in HTML mode.


    You can also strip the \r\n line feeds when obtaining the content from RadEditor
    RadEditor1.Content.Replace("\n", "").Replace("\r", "") 

    Kind regards,
    the Telerik team
    If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to their blog feed now
Back to Top