Include correct CKEditor 5 stylesheets

Created on 25 January 2024, 10 months ago
Updated 15 July 2024, 4 months ago

Problem/Motivation

When using different theme for domain, CKEditor 5 stylesheets are not loaded (ckeditor5-stylesheets from theme info.yml file). This is due to logic in ckeditor5 module that takes default system theme, since it's not aware of active domain theme.

Proposed resolution

Alter CKEditor 5 library info in hook function where active domain theme is used.

πŸ› Bug report
Status

Needs review

Version

2.0

Component

Code

Created by

πŸ‡ΈπŸ‡°Slovakia trafo

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

  • Issue created by @trafo
  • πŸ‡¨πŸ‡¦Canada lindsay.wils

    Thanks for posting this, I have just applied the patch and it seems to solve the issue. Both the base and sub theme's ckeditor stylesheets are now being loaded

Production build 0.71.5 2024