TypeCellOS / BlockNote

A React Rich Text Editor that's block-based (Notion style) and extensible. Built on top of Prosemirror and Tiptap.

Home Page:https://www.blocknotejs.org/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Parsing markdown table is wrong

littlefrontender opened this issue · comments

Describe the bug
Parsing the markdown table adds an extra row. Thus, if you store the date in markdown, it will add an empty row every time you save.

To Reproduce
I use https://www.blocknotejs.org/examples/interoperability/converting-blocks-to-md or https://www.blocknotejs.org/examples/interoperability/converting-blocks-from-md
Снимок экрана 2024-05-13 в 17 11 32
Снимок экрана 2024-05-13 в 17 12 43

Misc

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

Is there a md spec that specifies that the empty header should not be parsed? To me it seems correct that it gets parsed to an empty row tbh