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

オープン
#375 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る

まだ誰も着手していません。

評価

難易度
3/5
見積もり時間
1〜2日
初心者へのやさしさ
35/100
issue の種類
バグ
明瞭さ
おおむね明確
活発さ
停滞
領域
frontend

調査の方向性

HackMD のノートを閲覧専用モードにして Chrome 126 で問題を再現し、その後、ノートの一部またはすべてのテキストをコピーして Gmail に貼り付けます。貼り付け後の結果を元の書式と比較します。報告されている再現手順で書式が保持されれば完了です。

索引モデルが issue の本文から書いたものです。

説明

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
image

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)
主要言語
言語のデータがありません
スター
40
フォーク
9
PR マージ指標
30日以内にマージされた PR はありません

環境構築

このプロジェクトには開発コンテナ、Dockerfile、コントリビューションガイドがありません。まず README を読み、一般的な手順ははじめてのコントリビューションガイドを参照してください。

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

hackmdio/hackmd-io-issues のほかの issue

hackmdio/hackmd-io-issues の issue をすべて見る

似ている issue

Web Dev の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。