Skip to content

Image block editable bug #707

@hncheung9

Description

@hncheung9

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

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions