mail icon indicating copy to clipboard operation
mail copied to clipboard

Pasting text deletes newlines

Open jancborchardt opened this issue 3 years ago • 1 comments

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/

jancborchardt avatar Mar 21 '22 10:03 jancborchardt

Wow shocked this has been reported in 2022 and no attention! @ChristophWurst we need your help :)

githubbbie avatar Oct 22 '25 13:10 githubbbie

Fixed by this https://github.com/nextcloud/mail/pull/11982!

GVodyanov avatar Dec 15 '25 11:12 GVodyanov