Skip to content

When inserting an empty table, the cursor cannot be positioned in the first cell of the table #1972

@gusizhu

Description

@gusizhu

Describe the bug
When inserting an empty table, the cursor cannot be positioned in the first cell of the table. When moving the cursor using the keyboard arrow keys, it also fails to locate into the table cells unless the table already contains some initial data—only then does the cursor appear. This issue occurs in version 0.36.1. When I reverted to version 0.32.0, the problem disappeared. The problem can currently be reproduced on the official example page: https://www.blocknotejs.org/examples/basic/minimal

To Reproduce

  1. version:version 0.36.1
  2. insert an empty table
  3. the cursor cannot be positioned in the first cell of the table

Misc

  • Node version: no-matter
  • Package manager: npm
  • Browser: no-matter

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