How to acknowledge carriage return in RadEditor? - General Discussions - General Discussions - Progress Community
 General Discussions

How to acknowledge carriage return in RadEditor?

  • How to acknowledge carriage return in RadEditor?
  • I am importing some text into RadEditor in two ways through my application

    1- Fetching contents from database.and populating RadEditor's Contents property.
    2- Reading Text Data from File through IO streams and populating Contents.

    Unfortunately the carriage returns and line feeds are not transformed properly and the whole text is combined into a single line wrapped style which is hard to manage. The same issue is when I need to record these contents to database.

    Note: Contents are usually HTML source code

    Any idea what is the way forward??

  • Hi Aamir Ali,

    The RadEditor content is returned as HTML and this is how it should be imported in your database and then retrieved, otherwise you will loose the formatting over the text and all images that have been imported.


    Regards,
    Ivan Dimitrov
    the Telerik team
    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items