mdx-editor / editor

A rich text editor React component for markdown
https://mdxeditor.dev
MIT License
1.63k stars 131 forks source link

fix(table-editor): first row should be a header row using th instead of td element #417

Closed david10sing closed 3 months ago

david10sing commented 3 months ago

Description

This is a PR to fix issue https://github.com/mdx-editor/editor/issues/411

Replacing td with th element in the table editor to provide some visual difference.

Screenshots

Before

image

After

image

Test steps

  1. Pull down the branch
  2. Run npm run dev
  3. Navigate to http://localhost:61000/?story=basics--table
  4. Confirm that the header looks as per screenshot
  5. Confirm you can add rows after and before the header
github-actions[bot] commented 3 months ago

:tada: This PR is included in version 2.20.2 :tada:

The release is available on:

Your semantic-release bot :package::rocket: