element-hq / element-hq/element-web

When copying a message with formatting, copy the formatting as well

Open
#19,871 3 comments 0 reactions 0 assignees View on GitHub
A-Composer O-Occasional T-Enhancement
Dominant language
TypeScript
Stars
13.5k
Forks
2.8k
PR merge metrics
PR metrics pending

Description

### Your use case

#### What would you like to do?
When copying messages with Markdown/HTML, keep the formatting as well

#### Why would you like to do it?
In WhatsApp Web, you can copy messages that are formatted, and it'll copy the formatting as well (e.g., “**Text**” copied as “\*\*Text\*\*” (if using Markdown) or “\Text\” (if using HTML), instead of “Text”)

#### How would you like to achieve it?
Add an option in the message options, or just follow how WhatsApp Web does when you copy a formatted message

### Have you considered any alternatives?

_No response_

### Additional context

_No response_

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.