Cannot copy image when it is the first/only block in editor

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

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

評価

難易度
3/5
見積もり時間
1〜2日
初心者へのやさしさ
45/100
issue の種類
バグ
明瞭さ
説明が足りない
活発さ
静か
技術スタック
react, typescript
領域
frontend

調査の方向性

No file or test is named in the issue. First reproduce the copy behavior in a BlockNote editor with an image as the first or only block, then trace the editor's select-all and copy handling. Done means Ctrl+A followed by Ctrl+C includes the image when it is the first or only block, while preserving copying of surrounding text.

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

説明

bug:P2

Description:
When an image is uploaded as the first (or only) block in the BlockNote editor, it cannot be copied using Ctrl+A and Ctrl+C.

Steps to Reproduce:

  1. Open BlockNote editor.
  2. Upload an image without adding any text above it.
  3. Press Ctrl+A to select all content.
  4. Press Ctrl+C to copy.

Actual Behavior:

  • Nothing is copied when the editor contains only an image.
  • If the editor contains an image as the first block and text below it, only the text is copied — the image is ignored.

Additional Notes:

  • Works fine when there is text before the image.
主要言語
TypeScript
スター
10.2k
フォーク
772
平均マージ
3日 11時間
マージ済み PR(30日)
17

コントリビューションガイド

コントリビューションガイドを開く

はじめの一歩

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

TypeCellOS/BlockNote のほかの issue

TypeCellOS/BlockNote の issue をすべて見る

似ている issue

TypeScript の issue をもっと見る

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

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