Copy and paste out of composer loses all formatting, for certain destinations

Description

I’ll sometimes compose something in mailspring and then decide to save/send it elsewhere, ie: slack, vim.

When doing so, all formatting, including line breaks, disappears. Interestingly, this works fine for some destinations: ie: gmail, Paper, but other destinations, like this form, vim, slack, etc., this text:

This is a test

foo


goo

loo

ends up as:

This is a testfoogooloo

Pasting into ie: gmail, which works, and then re-selecting it from there, yields the desired results when going into vim, slack, etc.

I totally understand fancier formatting not always translating well, but I feel like basic paragraph structure should translate/transfer well.

Setup

  • OS and Version: OSX High Sierra
  • Mailspring Version: 1.5.1-da141eaf, but this has been present for a while

Additional Context

Possibly related: Copy & Paste destroys the sentence pattern

They mention pasting into composer, my issue concerns copying out of composer.


(Originally posted by jerm on GitHub.)

I second this on my Ubuntu 18.04 laptop.
Copy pasting loses all formatting and squeezes every \n to ''.
I also support the idea of working on the structure first as it’s much more important than bold or italic.

Thanks


(Originally posted by remokon on GitHub.)

I have the same Issues on Arch Linux, it’s quite inconvenient :confused:

Version 1.6.1-aceed8e5


(Originally posted by cake808 on GitHub.)

Copy & paste is a big mess in Mailspring (Ubuntu 20.04, Mailspring 1.7.8.05) and I encouter is several times a day:

  • loosing line breaks (workaround copy & paste via keyboard shortcuts)
  • does not work at all

a show stopper.

I am close to move to Windows now (coming from MacOS) because all mail clients are terrible on Linux and this was the most promising one.


(Originally posted by imperator-maximus on GitHub.)