Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
chrisy-lili opened this issue Jul 21, 2020 · 0 comments

Comments

@chrisy-lili
Copy link

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant