Keep line breaks of text when inserting to rich text element in CMS

When I insert a a text from notepad with line breaks into a rich text element in the CMS it does not keep the line breaks. So then I have to add the line breaks again manually. Please make it so that the line breaks would be preserved when copying.