Drupal 12 updates CKEditor 5 from 48.5.1 to 49.1.0, with a refreshed editor appearance and changes to its styling variables. The new appearance applies automatically to text formats that use CKEditor 5; no editor configuration change is needed to enable it. Before upgrading, site owners should check editor readability in light and dark modes, including the Admin theme regressions below and any custom CKEditor styles.
Known issues in the Admin theme
- The editing area can have a white background in dark mode, making text difficult to read. Related problems with fullscreen backgrounds, selected toolbar buttons and floating panels are tracked in #3637273.
- This update fixes unreadable tooltips in light mode. Making tooltip colors follow the selected light or dark mode is separate work, tracked in #3634547.
Check those follow-ups for fixes before adding local CSS workarounds. Test the editing area, toolbar buttons, tooltips and floating panels in both modes.
Custom theme styles
If your theme customizes CKEditor, review those styles against CKEditor's theme migration guide. Most overrides that set legacy --ck-* CSS custom properties still work, but the guide lists compatibility exceptions. Code that reads a legacy variable needs a separate check: for example, var(--ck-spacing-small) no longer resolves unless your styles define it. Use var(--ck-spacing-sm) instead, or follow the guide's instructions for legacy aliases.
For overrides scoped to one editor component, use its component variables. New foundation or semantic variables set on a narrower selector do not update component variables already resolved on the root element. You do not need to migrate every legacy override just to receive the new appearance.
Authors of custom CKEditor plugins should also review the version 49 update guide for applicable JavaScript API and build changes.