I’ve been using Drafts for years. Absolutely love it.
However, recently, when copying the content of a draft, which includes paragraph breaks and line breaks… I go to paste the clipboard contents into a separate app… but all of the paragraph breaks have disappeared, and it’s being Pasted as a single long lump of text.
I’m not aware of any changes I’ve made to the Drafts settings, So any help or guidance as to how to maintain the formatting that I’ve created in Drafts would be much appreciated!
That’s just how the Gmail app handles plain text pasted into it. Drafts is putting the text in the clipboard as it is written. I can reproduce with plain text clipboard content from any source. If you are seeing it behave differently from other sources, they are likely putting some other kind of text in the clipboard (RTF, HTML, etc.) that Gmail handles differently.
Seems like a bug in the Gmail app to my mind, but maybe they have a reason. Maybe a new bug, if you remember it behaving differently before.
If you use a Gmail action that sends the text via URL scheme to the Gmail app, or you use the “Share” action to send the text to Gmail via the system share sheet, it handles it correctly.
Behind the scenes, this likely has to do with Gmail sending as HTML email, and it is not converting the plain text to HTML properly when pasted - and HTML ignores line breaks.
This puts converts the content from Markdown to HTML and puts it in the clipboard, which seems to work nicely with Gmail, and has the benefit of support all normal Markdown markup (bold, italics, etc.) for formatting.
It does, however, require you to specify line breaks with two spaces at the end of the line - which is a standard Markdown convention.