HubSpot/draft-convert

soft enters are not persisted when pasting text entered in draft.js editor

Opened this issue · 0 comments

If I enter text in the draft.js editor with a soft enter in it, after copy and paste the text, the soft enter is replaced by spaces. It seems to comes from this line of code https://github.com/HubSpot/draft-convert/blob/master/src/convertFromHTML.js#L314.