Skip to content

Empty block is unnecessarily created #631

@moroshko

Description

@moroshko

Describe the bug
Empty block is unnecessarily created. I'm wondering why is this and whether there is a way to avoid this?

To Reproduce

  1. Visit https://www.blocknotejs.org/examples/basic/minimal
  2. Focus the editor
  3. Press "a"
    You'll see that a new empty block is added under the "a" (you can press the Down arrow to go there)

Misc

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

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions