Skip to content

Conversation

fantactuka
Copy link
Contributor

We already had root theme class but it was never applied to root node, it's quite useful for font styles (especially for nested editors which otherwise might inherit styles from its decorator)

@vercel
Copy link

vercel bot commented Oct 27, 2022

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Updated
lexical ✅ Ready (Inspect) Visit Preview Oct 27, 2022 at 1:18PM (UTC)
lexical-playground ✅ Ready (Inspect) Visit Preview Oct 27, 2022 at 1:18PM (UTC)

Copy link
Contributor

@acywatson acywatson left a comment

Choose a reason for hiding this comment

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

Nice

@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 Oct 27, 2022
@fantactuka fantactuka merged commit 21670a0 into main Oct 27, 2022
@trueadm
Copy link
Collaborator

trueadm commented Oct 28, 2022

We removed it as it clashed with React from what I remember. Given you render the content editable and the class with React, Lexical might break this.

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.

5 participants