It would be cool to send mails with bold, _italics_, _underlined_ and crossed words, lists, etc. Maybe using MarkDown or a button that showed a "formating bar" (maybe at the bottom of the screen?).
Note: a preview button or a live preview would be also very appreciated.
There's no way to do it
K-9 Mail version: 5.114 (F-droid)
Android version: 6.0.1
Account type (IMAP, POP3, WebDAV/Exchange): IMAP
The hard part is developing a UI that is usable given the Android screen size and number of possible options.
I think the best library for this is probably https://github.com/1gravity/Android-RTEditor
From the screenshots it looks like the K@-Mail fork actually uses it. RTEditor is Apache 2.0 licensed (like K-9) so it is fine for us to use as well.
I don't tend to need to write formatted email so this is quite low on my priority list. If someone wants to pick it up I'm happy to review code though.
I think that considering the UI problems using markdown or similar typable markup languages is probably the way to go.
I personally would like to see this feature, if markdown is considered an option I will probably start working on it.
Have you taken a look at Memento note taking app? https://github.com/yaa110/Memento
Just found it myself. It has limited rich text capabilities, but the UI is very intuitive. Being able to change colors and embed tables and images seems like a must have nowadays. Switching to markup would be a great feature to support advanced editing.
The toolbar could be placed on a menu or pop up window to save space, just some thoughts.
Also looked at RichEditor for Android, https://github.com/wasabeef/richeditor-android , but it has not been updated in years.
Great App guys!
Memento seems to use RichEditor, and that lib has actually been updated roughly a year ago. Looks nice though, we should take it into consideration
Is there any way this could be prioritised? K9 is the best email app for Android but whenever I recommend it I always have to say 'but you can't format your emails at all'. Then they look at me like I've travelled from the ancient past (which I sort of have I guess!).
The other popular email apps I've had a look at all allow formatting: they may be inferior to K9 in a thousand ways, but formatting does seem to be regarded as a basic function now.
Afraid I can't code but very happy to test.
Same here this quite and old request and any modern app out there supports
rich text by default so I can't understand why k-9 does not.
Sent from a fair mobile
On Sat, 22 Dec 2018, 11:42 SternByName <[email protected] wrote:
Is there any way this could be prioritised? K9 is the best email app for
Android but whenever I recommend it I always have to say 'but you can't
format your emails at all'. Then they look at me like I've travelled from
the ancient past (which I sort of have I guess!).
The other popular email apps I've had a look at all allow formatting: they
may be inferior to K9 in a thousand ways, but formatting does seem to be
regarded as a basic function now.
Afraid I can't code but very happy to test.—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/k9mail/k-9/issues/1745#issuecomment-449561518, or mute
the thread
https://github.com/notifications/unsubscribe-auth/ADYMD7DL7lNKUfEDIZ310GRBQhPwEPPPks5u7gyVgaJpZM4KeH_m
.
any chance that any rich text support will be implemented soon?
Incomplete list of things that implementations have to take into account:
text/html part of the draft. Check the contents and display a warning if the draft contains HTML tags that the editor doesn't support.text/html part from the plain text the user has entered. With a rich text editor we'll have to create the text/plain part from HTML. For this to work well in practice we'll probably have to dramatically enhance the capabilities of HtmlToPlainText.EXTRA_HTML_TEXT.This feature requires a lot of changes and chances are we will introduce quite a few bugs in the process. Because of this I want us to have a build flag to be able to disable this feature for stable versions until the feature is stable enough.
There is lib which could suit for typeface toolbar and edittext: https://github.com/wordpress-mobile/AztecEditor-Android/
It is design to write html code but we could use only the text editor part.
I understand the work needed to add an html editor and so to send actual html email.
Since in settings we can choose to send html emails, would be an option to set content-type to text/html when those settings is specified? It would allow to add and correctly read an html signature at least.
Most helpful comment
I think that considering the UI problems using markdown or similar typable markup languages is probably the way to go.
I personally would like to see this feature, if markdown is considered an option I will probably start working on it.