Skip to content

Crash when inserting text before subpage links #2199

@rgrunbla

Description

@rgrunbla

Bug Report

Before you file your issue

  • Check the other issues before filing your own
  • If your report is related to the (BlockNote) text editor, file it on their repo. If you're not sure whether your issue is with BlockNote or Docs, file it on our repo: if we support it, we'll backport it upstream ourselves 😊, otherwise we'll ask you to do so.

Problematic behavior
Adding a link to a sub-page on a line, moving the cursor to the beginning of the line, adding a character, then deleting the subpage (with Del), then trying to go back with ctrl-z results in multiple errors and a crash of the client.

Environment

See the video below:

recording.webm

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingtriage

    Type

    No type

    Projects

    Status

    No status

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions