Skip to content

Feature: Add css class to horizontal rule node for targeted styling #4336

Open
@madhusudhand

Description

@madhusudhand

A horizontal rule element is not given any editor specific class name to target the styling. Adding a class similar to other nodes would allow to target the hr inside editor without effecting all other hr elements of the application.

<hr class="" data-lexical-decorator="true" contenteditable="false">

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

contribution-weekIssues that are good to be picked up for the contribution weekenhancementImprovement over existing featuregood first issueGood for newcomersotherFeature not covered by the rest of the labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions