Issue Bug Rejected

#109212ckEditor font color not aware of color scheme

Henrik Ziegenhain 03/12/26, 07:12 updated 03/16/26, 07:35

Description

Currently ckEditor is not aware of the current color scheme.
Font-Color in RTE-Fields is always black.

Steps to reproduce:
- switch to dark mode
- open content with RTE field
- type in text

CSS-Variable —ck-content-font-color needs to be context aware.

Reviews 0

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

Files 1

History 7

  1. Garvin Hicking commented and changed status New Needs Feedback <span data-processor="relativetime" data-value="2026-03-12T10:39:25+00:00" > 03/12/26, 10:39 </span>

    I believe this can happen due to your custom contentCss styles or an extension? This does not happen in vanilla TYPO3 13 for me.

  2. Henrik Ziegenhain commented <span data-processor="relativetime" data-value="2026-03-12T13:49:05+00:00" > 03/12/26, 13:49 </span>

    hmmm tbh there is no contentsCss file loaded

    On some installations the color is black, on some others its correctly white.
    It looks like there’s a problem somewhere on my site. I just can’t see it yet. I’ll have to take another closer look.

  3. Henrik Ziegenhain commented <span data-processor="relativetime" data-value="2026-03-12T14:22:04+00:00" > 03/12/26, 14:22 </span>

    Strange things continues. Even when loading an empty contentsCss file confuses the Editor to struggle with the colors.
    After completly removing the declaration, the RTE field behaves like expected.

  4. Garvin Hicking commented <span data-processor="relativetime" data-value="2026-03-12T15:11:57+00:00" > 03/12/26, 15:11 </span>

    Check your network tab to see which CSS files are loaded in the TYPO3 backend.

    It’s likely that a CSS rule somewhere affects this. Also note that CSS might be heavily cached, so do flush your browser cache with devtools.

  5. Henrik Ziegenhain commented <span data-processor="relativetime" data-value="2026-03-16T07:24:45+00:00" > 03/16/26, 07:24 </span>

    Holy moly…
    This is an issue with lots of trees in the wood…😆

    It took me a bunch of ours to figure out, what differences between the instances with white and the ones with dark background.
    the property contentsCss could be an array. In the malicious instances I accidentally have overwritten the default contents.css file from Base.yaml file.

    Thanks @ghi

    This issue can be closed