BlockNote icon indicating copy to clipboard operation
BlockNote copied to clipboard

Image block editable bug

Open hncheung9 opened this issue 1 year ago • 0 comments

Describe the bug BlockNoteView is configured as editable={false}. The image block with no embedded link, which is presented as an Add Image button, is still accessible and allowing user to input a link.

To Reproduce

  1. Add a image block when BlockNoteView is editable={true}
  2. Set editable={false}
  3. Refresh and click on image block, which is in Add Image button state.
  4. Able to embed link, which is not an allowed and expected behavior.

Misc

  • Node version: v20.12.2
  • BlockNote version: 0.12.4
  • Package manager: pnpm
  • Browser: chrome 123.0.6312.107

hncheung9 avatar Apr 18 '24 05:04 hncheung9