Copying rich text only captures one heading at a time
まだ誰も着手していません。
評価
- 難易度
- 3/5
- 見積もり時間
- 1〜2日
- 初心者へのやさしさ
- 35/100
- issue の種類
- バグ
- 明瞭さ
- おおむね明確
- 活発さ
- 停滞
- 技術スタック
- html, markdown
- 領域
- frontend
調査の方向性
ソースファイルもテストも指定されていません。まず、複数の見出しを含む Markdown ドキュメントを使って hackmd.io/new で問題を再現し、報告されている Windows と Firefox の環境で、整形された表示を LibreOffice Writer にコピーします。完了の条件は、最初の見出しとそれに続くテキストだけでなく、整形されたドキュメント全体が貼り付けられることです。
索引モデルが issue の本文から書いたものです。
説明
Is this a hackmd.io issue?
- Yes, the bug happens on https://hackmd.io
- No. If it's a self-hosted CodiMD instance, please fire up the issue in the repo of CodiMD: https://github.com/hackmdio/codimd
What's the problem
I often copy the HTML-formatted text (from view or split view) into LibreOffice Writer to produce a .docx file. This worked fine for years, but in recent months I can highlight the whole text, but what gets pasted is only the first heading and any text following it up to the next heading. Possibly related to #387 but very different results.
Current behaviour
Provide steps to reproduce:
- Go to 'hackmd.io/new'
- Type or paste a Markdown document (often meeting minutes for me, lots of headings)
- In the formatted view, select all the formatted text, copy with Ctrl-V
- Paste into Writer
- Only the first heading shows up
Expected behaviour
Entire formatted document should be pasted in.
Environment
I use HackMD on:
Desktop
- OS: Windows
- Browser: Firefox
- Browser Version: 136.0.4
Additional context
This had been working fine for years, but I noticed it had stopped working a couple of months ago.
- 主要言語
- 言語のデータがありません
- スター
- 40
- フォーク
- 9
- PR マージ指標
- 30日以内にマージされた PR はありません
環境構築
このプロジェクトには開発コンテナ、Dockerfile、コントリビューションガイドがありません。まず README を読み、一般的な手順ははじめてのコントリビューションガイドを参照してください。
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
hackmdio/hackmd-io-issues のほかの issue
-
bug
難易度 1/5 1〜3時間 初心者へのやさしさ 62/100
hackmdio/hackmd-io-issues#121 ·
-
難易度 4/5 3〜5日 初心者へのやさしさ 25/100
hackmdio/hackmd-io-issues#448 ·
-
難易度 4/5 3〜5日 初心者へのやさしさ 15/100
hackmdio/hackmd-io-issues#447 ·
-
難易度 4/5 3〜5日 初心者へのやさしさ 45/100
hackmdio/hackmd-io-issues#446 ·
-
難易度 4/5 3〜5日 初心者へのやさしさ 22/100
hackmdio/hackmd-io-issues#445 · コメント 3 件 ·
hackmdio/hackmd-io-issues の issue をすべて見る
似ている issue
-
難易度 2/5 1〜3時間 初心者へのやさしさ 62/100
-
enhancement
難易度 1/5 1時間未満 初心者へのやさしさ 72/100
apache/maven-fluido-skin#387 · コメント 3 件 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 88/100
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
vercel-labs/ui#1494 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 68/100
メンテナーはふだん 1 日以内に返信