nextcloud / nextcloud/mail

Pasting text deletes newlines

Open
#6,141 4 comments 0 reactions 1 assignee View on GitHub

@GVodyanov is already working on this.

Since Dec 11, 2025.

  • #12915 by @jancborchardt — 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
  1. Copy some text with newlines, like some generated lorem ipsum
  2. Paste it in the composer
Expected behavior

The newlines should be kept as they are.

Actual behavior

Original text from lipsum.org:
image

Pasted in the composer:
image

Pasted in the CKeditor demo for testing:
image

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

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.