Missing list formatting in the text editor - same for line spacing
Steps to reproduce
- Create an e-mail message
- Create lists in the text editor
- Create line spaces, single and larger (e.g. Enter or Shift + Enter)
Expected behavior
The same list in the e-mail editor actually looks like this:
This is how the distances are in reality, e.g. in Word etc.:
Actual behavior
This is how it looks in the editor, which is very confusing and leads to formatting errors when sending, as you cannot see the indentation when composing.
This is what it looks like when writing:
Mail app version
3.5.4
Mailserver or service
No response
Operating system
FreeBSD 13.2
PHP engine version
PHP 8.1
Web server
Apache (supported)
Database
MariaDB
Additional info
It would be great if the text editor generally displayed the same formatting as the e-mail is displayed in view mode.
I'm also thinking of single and multiple line breaks, which can also cause problems. When composing an e-mail, you cannot see visually whether you have made only one or a larger line spacing (e.g. Enter or Shift + Enter).
It would be great if the text editor generally displayed the same formatting as the e-mail is displayed in view mode.
I agree but this is technically challenging. When composing, the CSS of Nextcloud applies and gives the text a certain style. Then, once received, it's up to the engine of the email program to render the HTML again. To get a more deterministic style while composing and reading the sent email we probably have to add our own css in the editor and embed that same css in the HTML email.
Related: https://github.com/nextcloud/server/issues/43393
I understand that technically. It doesn't have to be 100% exactly the same either, as close as possible is enough. Currently, the edit view and the final view are too far apart.
The latest updates have made it even worse. Now you no longer see any bullet points or indentations when composing e-mails.
This is what the list looks like in the e-mail editor
And this is how the list is formatted and looks to the recipient
Mail version: 3.6.0 Nextcloud: 28.0.4