-
Notifications
You must be signed in to change notification settings - Fork 1.6k
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
Conversation
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
This reverts commit 77b0b63.
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 |
Reopened without unwanted rename changes: #6090 |
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. Theselected
class is still added/removed upon selecting the HR node and relevant tests have been updated to include the theme class.Closes: #4336