Pasting text deletes newlines
Open
1. to develop
bug
feature:editor
papercut
- Dominant language
- JavaScript
- Stars
- 1k
- Forks
- 348
- Avg merge
- 12h 28m
- Merged PRs (30d)
- 91
Description
Steps to reproduce
- Copy some text with newlines, like some generated lorem ipsum
- Paste it in the composer
Expected behavior
The newlines should be kept as they are.
Actual behavior
Original text from lipsum.org:

Pasted in the composer:

Pasted in the CKeditor demo for testing:

Mail app version
Current on cloud.nc.com
Mailserver or service
No response
Operating system
No response
PHP engine version
No response
Web server
No response
Database
No response
Additional info
Also happens when copying from other places like GitHub, Atom editor, etc. Does not happen when pasting into https://ckeditor.com/ckeditor-5/demo/
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Assessment
This issue has not been assessed yet.