mdx-editor / editor

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

[BUG] in read-only mode -> in table -> in first row -> only last cell doesn't have border styling #532

Closed swanITworks closed 1 month ago

swanITworks commented 2 months ago

If you want to ask for support or request features, sponsor the project and contact me over email.

Describe the bug in read-only mode -> in table -> in first row -> only last cell doesn't have border styling

Reproduction

https://codesandbox.io/p/sandbox/mdx-editor-base-forked-gjtppm

Screenshot 2024-07-10 at 10 28 06

Expected behavior Last cell in first row in read-only mode should have border styling

Screenshots readOnly={true}

Screenshot 2024-07-10 at 08 42 17

readOnly={false}

Screenshot 2024-07-10 at 08 42 50
denisvely commented 1 month ago

any update on this?

petyosi commented 1 month ago

@denisvely should be a simple fix - happy to accept a PR.

swanITworks commented 1 month ago

Thanks, guys it works now!