Summary
Editing a message makes user and channel mentions turn into "just text", making them not clickable anymore.Steps to reproduce
- Send a message with a user mention or channel mention or both
- Edit the message, for example add something or delete something
- The mentions will turn into just text


2 comments
Comment by Rex
Comment by @cproudlock
fluxer_app/src/utils/MarkdownToSegmentUtils.tsx(convertMarkdownToSegments, line 39) correctly parses the raw markdown mention syntax (e.g.<@12345>) and creates segments. However, the segment state isn't properly persisted through the edit lifecycle. When the user saves the edit,displayToActual()in the textarea segments hook converts from the display text back to raw markdown — but it doesn't properly reconstruct the<@id>format for mentions that were in the original message. The fix would be to ensure that when loading a message for editing inEditingMessageInput.tsx(around line 130-146), the segments created byconvertMarkdownToSegmentsare fully registered in the segment manager so thatdisplayToActual()can reconstruct them on save.