Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Image block editable bug #707

Closed
hncheung9 opened this issue Apr 18, 2024 · 0 comments · Fixed by #783
Closed

Image block editable bug #707

hncheung9 opened this issue Apr 18, 2024 · 0 comments · Fixed by #783
Assignees
Labels
bug Something isn't working

Comments

@hncheung9
Copy link

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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants