nextcloud / nextcloud/mail

"Edit as new" loses HTML formatting

Open
#4,693 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

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

Description

  1. Set account to plain text mode
  2. Compose a new email
  3. Set editing mode to rich/HTML
  4. Send the email
  5. Go to the sent mailbox
  6. Click Edit as new on the sent message
Expected behavior

Editor is set to rich/html despite the account preference

Actual behavior

Formatting is lost

Mail app

Mail app version: v1.9

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

The issue names no files, tests, or entry points. Reproduce the six-step flow in Mail v1.9 and trace the Edit as new editor state; done means a sent HTML message reopens in rich/HTML mode despite the plain-text account preference, with its formatting preserved.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
frontend
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Clearly specified
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.