BlockNote icon indicating copy to clipboard operation
BlockNote copied to clipboard

Some headings put

Open mfanselmo opened this issue 1 year ago • 1 comments

Describe the bug

Hey! I noticed this weird bug that breaks the editor. For some reason, one heading got introduced with the level prop as null, which makes it a html element <hnull /> that crashes on hover.

I am not quite sure what happened for a block of that type to be added with a null level prop.

Image

To Reproduce Still not sure how it happened, will report back if I am able to reproduce again

Misc

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

mfanselmo avatar Jan 29 '25 17:01 mfanselmo

Hey! Do you maybe remember how this block was added? E.g. pasting content from within the editor, pasting content from outside the editor, drag & drop, etc.

I don't think I've seen this one before so it's hard to say where the issue might be.

Either way lmk if you encounter the issue again!

matthewlipski avatar Feb 24 '25 16:02 matthewlipski