"New message" body has a line break by default, leading to various small issues
Steps to reproduce
- Click "New message"
- Select the message body
Expected behavior
There is no content at all in the message body, which would also make the placeholder "Write message β¦" appear.
Actual behavior
There is a line break by default in the body of a new message, resulting in:
- The placeholder "Write message β¦" not being visible
- An empty line at the top of your mail if you click into the body and start writing only on the second line (not knowing it is not the first line)
Possibly this behavior is because we added an extra line break when you reply to a message, so itβs not directly stuck to the quote part below. (The behavior on reply is wanted though and should stay how it is, unlike this for new messages.)
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
No response
IIRC we do this because of a possible signature. So if there is no signature we should initialize the editor with an empty string, not the line break(s).
I don't know if this issue is still really open. In my case (mail 3.7.7) :
-
If there is no signature configured : creating a new message results in the expected behaviour π
-
If there is a signature configured : creating a new message results in :
- line break in the body
- line break between signature separator (--) and signature text
I think a better behavior should be in this case :
- empty string in the body
- no line break between signature separator (--) and signature text
@jancborchardt , @ChristophWurst , What do you think about it? Thanks a lot.
Fine by me
I think a better behavior should be in this case :
- empty string in the body
- no line break between signature separator (--) and signature text
Agree on no line break between signature separator and text.
But for the body, there should be 2 empty lines before the separator. 1 for writing, 1 for white space between message text and the separator. Like so
Hi this is my message
--
I am me