Editor does not recoginize \r\n

2 posts, 0 answers
  1. Mark
    Mark avatar
    12 posts
    Member since:
    Apr 2008

    Posted 23 Apr 2009 Link to this post

    I'm trying to use radeditor as simple text editor wherein I capture script code snippets for dynamic execution else where in my system.  However, when I retreive the saved code snippet and set it on the content property of the editor, the editor does not recognize the new line control characters and places the entire script on one line.

    Is there a way to have the editor recognized the new line characaters (like notepad, etc)?  I've looked at the various formatting options and nothing is jumping out at me.

  2. ManniAT
    ManniAT avatar
    885 posts
    Member since:
    Nov 2003

    Posted 24 Apr 2009 Link to this post


    as stated in some other threads - RadEditor is a pure HTML / XHTML editor.
    It uses linefeed only for "better readability".

    Take a look at this post (there is also a link to a more detailed post inside):


Back to Top