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

H2 & H3 headings all caps #33

Open
johannesschaffer opened this issue May 3, 2023 · 2 comments
Open

H2 & H3 headings all caps #33

johannesschaffer opened this issue May 3, 2023 · 2 comments

Comments

@johannesschaffer
Copy link

H1 headings work normal.
It does preserer the casing, just doesn't display it.

@AlessioGr
Copy link
Owner

That's just an opinionated CSS style! Will look into adding an easy way to provide your own CSS styles

@johannesschaffer
Copy link
Author

johannesschaffer commented May 5, 2023

I don't think it's a good default style;) Many websites do display the casing (it's the default for h2, h3). It makes the result on the website very hard to judge, if the CMS doesn't display it (yet preserves it). I think custom styles like that should be opt-in, especially given that this library is officially the de-facto standard Lexical implementation for PayloadCMS;)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants