Issue Bug Closed

#107321Issue with table in CKEditor 5 when using dark mode

Sébastien LeBlanc 08/22/25, 05:23 updated 08/22/25, 19:11

Description

CKEditor 5 styles are overwritten by Typo3 styles, causing the background of a `` to be dark instead of light.

The specificity for `.table>:not(caption)>*>*` is higher than `#data_tt_content__1519__bodytext_ckeditor5 .ck-content table` which cause the background-color value to be `light-dark(#f7f7f7, #141414)` from `var(—typo3-table-bg)` instead of `#fff`

Reviews 0

No change resolves or names this issue in its commit message, and no comment links one.