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.
| Comment | File | Size | Author |
|---|---|---|---|
| cke5-active-domain-theme.patch | 1.07 KB | trafo |
Issue fork domain_theme_switch-3416991
Show commands
Start within a Git clone of the project using the version control instructions.
Or, if you do not have SSH keys set up on git.drupalcode.org:
Comments
Comment #2
lindsay.wils commentedThanks 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
Comment #3
mably commentedWe need an MR for 2.x.
3.x is not concerned by this issue.
Comment #6
rollins commentedComment #8
mably commentedThanks for the MR @rollins!