feat(message): add "Copy Text" context-menu action
The message menu had Copy Link (permalink) but no way to copy the message text itself. Add a Copy Text item that copies the plain-text body with the reply fallback stripped (trimReplyFromBody). It renders nothing when there is no usable text body (e.g. media without a caption), so the caller can list it unconditionally next to Copy Link. Uses Icons.Text. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
This commit is contained in:
@@ -683,6 +683,10 @@ The indicator is hidden once the server confirms the event (when the internal st
|
||||
|
||||
Context menu → **Forward** allows forwarding a message to any room the user is a member of.
|
||||
|
||||
### Copy Message Text
|
||||
|
||||
Context menu → **Copy Text** copies a message's plain-text body to the clipboard (reply fallback stripped via `trimReplyFromBody`), complementing the existing **Copy Link** (permalink) action. It renders only when the event has a usable text body, so media without a caption doesn't show an empty action.
|
||||
|
||||
### Draft Persistence
|
||||
|
||||
- Composer drafts are stored in `localStorage` keyed by `roomId`
|
||||
|
||||
Reference in New Issue
Block a user