Skip to content

[lexical-table] Bug Fix: TableCellNode vertical align not syncing - #7277

Merged
etrepum merged 1 commit into
meta:mainfrom
anhle1476:fix-table-cell-vertical-align-not-sync
Mar 3, 2025
Merged

etrepum merged 1 commit into
meta:mainfrom
anhle1476:fix-table-cell-vertical-align-not-sync

Conversation

@anhle1476

Copy link
Copy Markdown
Contributor

Description

Missing the default initializer for __verticalAlign of TableCellNode -> @lexical/yjs syncPropertiesFromLexical() missing that when extract node properties -> the following updates on __verticalAlign won't be sync

Closes #7276

Test plan

Before

before.mp4

After

after.mp4

@vercel

vercel Bot commented Mar 3, 2025 •

Copy link
Copy Markdown

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 Mar 3, 2025 7:10am
lexical-playground ✅ Ready (Inspect) Visit Preview 💬 Add feedback Mar 3, 2025 7:10am

@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 Mar 3, 2025

@etrepum etrepum left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This works for me in the playground env for this PR, will merge once tests pass!

@etrepum
etrepum added this pull request to the merge queue Mar 3, 2025
Merged via the queue into meta:main with commit 1327acf Mar 3, 2025
@etrepum etrepum mentioned this pull request Mar 3, 2025
@anhle1476
anhle1476 deleted the fix-table-cell-vertical-align-not-sync branch March 4, 2025 02:45

This branch was successfully deployed

2 active deployments
Preview – lexical-playground — b1abe801 Deployed Mar 3, 2025 by vercel[bot]
Preview – lexical — b1abe801 Deployed Mar 3, 2025 by vercel[bot]
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.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Bug: Table Cell Vertical Alignment Not Syncing

3 participants