AlessioGr / payload-plugin-lexical

Extends payload CMS with Meta's lexical RichText editor - a much more advanced and customizable richtext editor
MIT License
144 stars 6 forks source link

H2 & H3 headings all caps #33

Open johannesschaffer opened 1 year ago

johannesschaffer commented 1 year ago

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

AlessioGr commented 1 year ago

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

johannesschaffer commented 1 year ago

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;)