element-hq / element-hq/element-web

Rich text editor does not add m.mentions in events

Open
#28,383 0 comments 1 reaction 0 assignees View on GitHub
A-Rich-Text-Editor O-Frequent S-Minor T-Defect Z-Labs
Dominant language
TypeScript
Stars
13.5k
Forks
2.8k
PR merge metrics
PR metrics pending

Description

### Steps to reproduce

1. Enabling Labs "Rich Text Editor"
2. Send a chat message with mentioning someone

### Outcome

#### What did you expect?

m.mentions should be existing in room event for the message sent.

#### What happened instead?

m.mentions is missing in room event for the message sent.

### Operating system

Windows 11 Pro 24h2

### Application version

Element version: 1.11.83 Crypto version: Rust SDK 0.7.2 (7a21514), Vodozemac 0.7.0

### How did you install the app?

https://packages.riot.im/desktop/install/win32/x64/Element%20Setup.exe

### Homeserver

Synapse 1.116.0

### Will you send logs?

No

Contributor guide

Open the contributing guide

Research direction

Reproduce the issue with Labs “Rich Text Editor” enabled by sending a chat message that mentions someone, then inspect the generated room event and the rich-text message path. Done means the sent event contains the expected m.mentions field; no specific source file or test is named in the issue.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript
Domain
frontend
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
42/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.