The documentation says the table plugin enable usage of GFM markdown tables which clearly explain the column headers should be rendered in table > thead > th but they are rendered in table > tbody > td
The bug concerns the table rendering inside MDXEditor, not the markdown generated (which is correct)
Reproduction
I've set a reproduction in this codesandbox but you can basically reproduce it by creating a table and looking on the devtools.
To Reproduce
Steps to reproduce the behavior:
Create a table on the rich text mode
Open the DevTools (F12 or Ctrl + I)
Inspect the generated table inside the MDXEditor
Expected behavior
The table should be correctly implemented with thead and th
Screenshots
Desktop (please complete the following information):
If you want to ask for support or request features, sponsor the project and contact me over email.
Describe the bug When creating a table, the first line should be the table header section (which is correctly rendered in the markdown mode) :
The documentation says the table plugin enable usage of GFM markdown tables which clearly explain the column headers should be rendered in
table > thead > th
but they are rendered intable > tbody > td
The bug concerns the table rendering inside MDXEditor, not the markdown generated (which is correct)
Reproduction I've set a reproduction in this codesandbox but you can basically reproduce it by creating a table and looking on the devtools.
To Reproduce Steps to reproduce the behavior:
Expected behavior The table should be correctly implemented with
thead
andth
Screenshots![image](https://github.com/mdx-editor/editor/assets/11075579/a9c05285-9ad3-4c49-adc3-fb293c655acf)
Desktop (please complete the following information):