Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[lexical-table] Bug Fix: TableNode exportDOM fixes for partial table selection #6889

Merged
merged 1 commit into from
Dec 1, 2024

Conversation

etrepum
Copy link
Collaborator

@etrepum etrepum commented Nov 30, 2024

Description

The exportDOM for TableNode didn't consider partial table selections, and didn't have any tests.

Follow-up to #6884

Test plan

Before

No tests. Would export the full table colgroup and/or not have all of the wrapping elements.

After

TableNode exportDOM behaves as expected with tests.

Copy link

vercel bot commented Nov 30, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
lexical ✅ Ready (Inspect) Visit Preview 💬 Add feedback Nov 30, 2024 7:45am
lexical-playground ✅ Ready (Inspect) Visit Preview 💬 Add feedback Nov 30, 2024 7:45am

@facebook-github-bot facebook-github-bot added the CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. label Nov 30, 2024
@etrepum etrepum added the extended-tests Run extended e2e tests on a PR label Nov 30, 2024
Copy link

size-limit report 📦

Path Size
lexical - cjs 30.99 KB (0%)
lexical - esm 30.82 KB (0%)
@lexical/rich-text - cjs 39.76 KB (0%)
@lexical/rich-text - esm 32.63 KB (0%)
@lexical/plain-text - cjs 38.34 KB (0%)
@lexical/plain-text - esm 29.95 KB (0%)
@lexical/react - cjs 41.51 KB (0%)
@lexical/react - esm 34.06 KB (0%)

@ivailop7 ivailop7 added this pull request to the merge queue Dec 1, 2024
Merged via the queue into facebook:main with commit 6a1cf18 Dec 1, 2024
44 checks passed
@etrepum etrepum deleted the tablenode-exportDOM-unit branch December 2, 2024 16:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. extended-tests Run extended e2e tests on a PR
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants