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-playground][lexical-react][lexical] Feature: Theme class added to horizontal rule node #6017

Closed
wants to merge 8 commits into from

Conversation

daltnd
Copy link
Contributor

@daltnd daltnd commented May 3, 2024

Description

This PR adds theme class support to HorizontalRuleNode so that it can be targeted from the theme object in the editor config instead of through CSS workarounds. The selected class is still added/removed upon selecting the HR node and relevant tests have been updated to include the theme class.

Closes: #4336

Copy link

vercel bot commented May 3, 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 May 12, 2024 6:42am
lexical-playground ✅ Ready (Inspect) Visit Preview 💬 Add feedback May 12, 2024 6:42am

@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 May 3, 2024
This reverts commit 2ad1327, reversing
changes made to 51e3801.
@daltnd
Copy link
Contributor Author

daltnd commented May 7, 2024

I'm not sure what's going on with the function rename changes as I'm not intentionally committing them. It happened when I merged main into the branch to get the pipelines to pass. The changes appear to have been committed during the pre-commit process. I'd love to avoid including them in this PR but I'm not sure how.

@daltnd
Copy link
Contributor Author

daltnd commented May 12, 2024

Reopened without unwanted rename changes: #6090

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.

2 participants