element-hq / element-hq/element-android

Markdown formatting gets lost when editing a message

Open
#9,017 3 comments 5 reactions 0 assignees View on GitHub
T-Defect
Dominant language
Kotlin
Stars
3.7k
Forks
917
PR merge metrics
No merged PRs in 30d

Description

### Steps to reproduce

1. Activate Markdown Formatting under "Options" (it is deactivated by default)
2. Write a message with fornmatting like **bold text** or so, and send it.
3. Edit this message. The editor window shows the formatted text. Whatever I change now, the result will be 100% unformatted, all formatting is unrecoverably lost.

### Outcome

#### What did you expect?
I expect that the editor window in "edit message" mode shows the formatting characters explicitly (like in original editing field), not the formatted text without formatting symbols. Like it is now, I cannot edit the formatting in the first place.

#### What happened instead?
Although editor window when editing message shows formatted text (without formatting characters, which is a bad idea as said above), after editing all formating is lost.

### Your phone model

All phones (Android 14 and Android 10, Samsung and Shiftphone)

### Operating system version

Android 10, Android 14

### Application version and app store

Latest from Google Play: 1.6.36 (5179f934)

### Homeserver

matrix.org, but not relevant

### Will you send logs?

No

### Are you willing to provide a PR?

No

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.