wri / wri_sites

WRI profile
2 stars 2 forks source link

Ckeditor preview - show serif or sanserif fonts accurately #262

Open mariacha opened 1 month ago

mariacha commented 1 month ago

Describe the bug Some content types use a serif font for the body, but this is not indicated during editing preview. This ticket would find those content types/rules and replicate them during editing.

mariacha commented 1 month ago

This is updated on develop. Articles should have serif fonts: https://develop-wriflagship.pantheonsite.io/node/104234/edit?destination=/admin/content

as should publications: https://develop-wriflagship.pantheonsite.io/node/65410/edit?destination=/admin/content

while other pages should have sans-serif: https://develop-wriflagship.pantheonsite.io/node/104192/edit?destination=/admin/content

shannon-paton commented 1 month ago

The fonts and styling look good @mariacha , thanks!

For a future ticket, we might want to fix the caption under the table , see example here: https://develop-wriflagship.pantheonsite.io/events/2024/4/health-facility-electrification-lessons-developing-countries -- not sure we had that as an option before the new version, but currently the caption is above the table and isn't styled correctly (in the editor or frontend)