-
Notifications
You must be signed in to change notification settings - Fork 1.8k
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] Bug Fix: Fix Table formatting when no TextNodes present #6675
[lexical] Bug Fix: Fix Table formatting when no TextNodes present #6675
Conversation
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
size-limit report 📦
|
This is still not working for the styles - font size, font color, etc for the empty cells. Also when selecting the whole table and clicking on Bold, doesn't keep the toolbar button active, which if all cells have the applied said style should have active state. |
Fixed toolbar buttons in #6678 Regarding text styles: ParagraphNode does not have properties to store them right now. We will need to add new properties in ParagraphNode and new create signals in Toolbar to process the action separately for table the same way it's done with formatting now. I'd rather do this in a separate pr as this is not a small change |
Agreed. This PR is a great step forward. |
@etrepum could I get a second pair of eyes, if you don't mind. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM, thank you!
Description
Don't rely on TextNode when applying formatting for empty ParagraphNode
The initial issue was fixed in #6626, but the scenario with no TextNodes present was missed in the final version of pr
Test plan
2 tests added