Open robertfoss opened 7 years ago
@simonft is working on this.
I've got a commit that adds a plain-text only version generated from the html: https://github.com/simonft/nylas-mail/commit/8054109c0841433c88522648d645bcc0ca828bd2
@robertfoss is that enough for your needs? Or are you looking for an editing mode that's html only?
dont submit the PR until Sunday :P
@simonft I think @robertfoss is looking for a button to press to switch the email to plain-text rather than supporting both content types in the sent email. At lease that's what I'd expect. I think when you said "editing mode that's html only" you meant "plain text only", right?
See the interface that switches this in Outlook:
I would hope for a plaintext by default when replying to received plaintext, plus an option to force the mode.
We should be able to send both text/HTML and text/plain in the same message as a multipart/alternative (what @simonft is working on). Per RFC 2046 it's up to the client to figure out what format it wants. I'm kind of against the interface switches that Outlook has. It's more interface clutter, and is liable to confuse users. Your mailing list is at fault here if it is accepting HTML and not rendering it back to you. Are you sure that if it sees a text/plain multipart it won't use that?
As a developer who does a fair amount of old-school mailing list based development, it would be nice to see support for plain text only emails.
Thanks!