BlockNote
BlockNote copied to clipboard
Image block editable bug
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
- Add a image block when BlockNoteView is
editable={true} - Set
editable={false} - Refresh and click on image block, which is in
Add Imagebutton state. - 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