BlockNote icon indicating copy to clipboard operation
BlockNote copied to clipboard

something about image

Open Snailmar opened this issue 10 months ago • 0 comments

Describe the bug

  1. When an image is inserted, the text toolbar buttons (e.g., BlockTypeSelect, BasicTextStyleButton) are hidden instead of being disabled.
  2. When selecting all content (including an image), the text formatting buttons remain visible, but clicking on Paragraph causes the image block to disappear.

Expected behavior

  1. When clicking on an image block, the text toolbar buttons should be disabled rather than hidden.
  2. When selecting all content (including an image), applying text formatting (e.g., changing to Paragraph) should not cause the image block to disappear.

To Reproduce

  1. Insert an image into the editor.
  2. Observe that the text toolbar buttons (e.g., BlockTypeSelect, BasicTextStyleButton) are hidden.
  3. Select all content (including the image).
  4. Click on the Paragraph button in the toolbar and notice that the image block disappears.

Image select image

Image

Snailmar avatar Mar 07 '25 10:03 Snailmar