Skip to content

When blocknote is not editable, I can cut text from it #1303

@carlonicora

Description

@carlonicora

Describe the bug

I have a non-editable blocknote (editable={false}). If I select a part of the content and cut it (Cmd+X), the content is removed from the editor

To Reproduce

  • Create a non-editable blocknote with some content in it.
  • Select a portion of the content
  • Cmd+X/Ctrl+X
  • The text disappears

Misc

  • Blocknote version : 0.20.0
  • Node version: 22
  • Package manager: npm
  • Browser: Chrome
  • I'm a sponsor and would appreciate if you could look into this sooner than later 💖

Metadata

Metadata

Assignees

No one assigned

    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