payload-plugin-lexical icon indicating copy to clipboard operation
payload-plugin-lexical copied to clipboard

H2 & H3 headings all caps

Open johannesschaffer opened this issue 2 years ago • 2 comments

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

johannesschaffer avatar May 03 '23 19:05 johannesschaffer

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

AlessioGr avatar May 05 '23 14:05 AlessioGr

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

johannesschaffer avatar May 05 '23 18:05 johannesschaffer