BlockNote icon indicating copy to clipboard operation
BlockNote copied to clipboard

When pasting link as first item everything after it gets added

Open TriPSs opened this issue 1 year ago • 0 comments

Describe the bug When adding a link to the editor that is still completely emtpy, if you then use a space/press next key array, it will add everything tot that link; this does not happen when it's not the first thing in the editor.

To Reproduce

  • Open https://stackblitz.com/github/TypeCellOS/BlockNote/tree/main/examples/01-basic/01-minimal?file=App.tsx
  • Add URL (eg. https://google.com)
  • Press space and add some chars
  • Chars are added to the link

Misc

  • Node version:
  • Package manager:
    "@blocknote/core": "0.14.5",
    "@blocknote/mantine": "0.14.6",
    "@blocknote/react": "0.14.6",
  • Browser:
  • [ ] I'm a sponsor and would appreciate if you could look into this sooner than later 💖

TriPSs avatar Jul 15 '24 12:07 TriPSs