BlockNote
BlockNote copied to clipboard
something about image
Describe the bug
- When an image is inserted, the text toolbar buttons (e.g.,
BlockTypeSelect,BasicTextStyleButton) are hidden instead of being disabled. - When selecting all content (including an image), the text formatting buttons remain visible, but clicking on
Paragraphcauses the image block to disappear.
Expected behavior
- When clicking on an image block, the text toolbar buttons should be disabled rather than hidden.
- 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
- Insert an image into the editor.
- Observe that the text toolbar buttons (e.g.,
BlockTypeSelect,BasicTextStyleButton) are hidden. - Select all content (including the image).
- Click on the
Paragraphbutton in the toolbar and notice that the image block disappears.
select image