CU-CommunityApps / cwd_base

A lightweight Drupal 8+ theme, implementing Cornell Branding and standard CWD components.
1 stars 2 forks source link

row <th> element styling in WYSIWYG #47

Open alisonjo315 opened 3 years ago

alisonjo315 commented 3 years ago

Problem

When a row is made a <th> and you look at it in CKEditor, the text is centered, instead of left-aligned. (When you save the page, the row heading table cells are left-aligned.)

The text should be left-aligned in CKEditor, too 😁

Page with example table: (click edit, compare alignment of row header when viewing the page vs. editing the page) https://dev-cddemo.pantheonsite.io/example-page-table-column-and-row-headers

Content editing screenshot: image

Solution

Update ckeditor.scss accordingly.

ama39 commented 2 years ago

Hi @alisonjo315 ,

I believe this issue would actually need to be addressed in cwd_base. While CKEditor customization is done in the admin theme, the appearance of content within CKEditor comes from compiling ckeditor.scss.

alisonjo315 commented 2 years ago

@ama39 Oooo ok, thank you for looking! I'll move this issue over there 🏃‍♀️