nextcloud / nextcloud/mail

Missing list formatting in the text editor - same for line spacing

Open
#9,330 5 comments 2 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

1. to develop bug
Dominant language
JavaScript
Stars
1k
Forks
348
Avg merge
12h 28m
Merged PRs (30d)
91

Description

Steps to reproduce
  1. Create an e-mail message
  2. Create lists in the text editor
  3. 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:
create-message-list-true

This is how the distances are in reality, e.g. in Word etc.:
create-message-space-true

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.
create-message-list

This is what it looks like when writing:
create-message-space

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).

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

No file, test, or entry point is identified in the issue. Begin by locating the compose text editor and the view-mode formatting behavior, then determine how list indentation and single versus multiple line breaks are represented. Done means the compose view visibly matches the rendered email formatting for these cases.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
frontend
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.