hackmdio / hackmdio/hackmd-io-issues

Copying a note from the view version to an email in gmail loses formatting

Open
#375 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
No language data
Stars
40
Forks
9
PR merge metrics
No merged PRs in 30d

Description

### Is this a hackmd.io issue?

Yes, the bug happens on https://hackmd.io

### What's the problem
If I go to a note e.g. https://hackmd.io/@oidf-wg-authzen/wg-meeting-20240625 and I want to select all the note's text to copy it and email it, it only pastes text. It loses formatting.

#### Current behaviour
![image](https://github.com/hackmdio/hackmd-io-issues/assets/6230719/df7f946b-015b-45ff-9da1-9e91de27bdd6)
![image](https://github.com/hackmdio/hackmd-io-issues/assets/6230719/1ce6f708-42b4-40c7-a9fa-fe05e550e50d)

> Screenshot (optional)

Provide steps to reproduce:

1. Go to any note in the view-only mode.
2. Select some or all of the note's text
3. Copy the text (ctrl+c)
4. Go to your email client (gmail)
5. Paste the text (Ctrl+v) and observe that the formatting is missing

#### Expected behaviour

Formatting should be preserved.

#### Environment

I use HackMD on:

- Browser: Chrome 126.0.6478.127 (Official Build) (64-bit) (cohort: Stable)

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.