Problem/Motivation
In #3194084: Support functionality equivalent to ckeditor_stylesheets, a new ckeditor5-stylesheets theme configuration was created. It provides functionality similar to ckeditor_stylesheets, but exists as a separate settings as there are scenarios where a stylesheet that works well in CKEditor 4 won't necessarily work well in CKEditor 5.
Since this theme has ckeditor_stylesheets configured, it should get a ckeditor5-stylesheets setting. It may be possible to use the same stylesheets, but manual testing will be required to confirm the styling is desirable and doesn't have side effects. This is especially necessary as CKEditor5 stylesheets are not encapsulated in an <iframe>
Steps to reproduce
Proposed resolution
Remaining tasks
User interface changes
API changes
Data model changes
Release notes snippet
| Comment | File | Size | Author |
|---|---|---|---|
| #16 | issues-3267438-classy-ckeditor5-stylesheets-config.patch | 425 bytes | shalini_jha |
Issue fork classy-3267438
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:
- 3267438-pp-1-add-classy
changes, plain diff MR !2
Comments
Comment #2
bnjmnmComment #5
quietone commentedClassy has been removed from core, moving to the contrib project.
Comment #6
perarg commentedAs first step in order to test it as @bnjmnm propose is to create a simple patch to change into ckeditor5_stylesheets and then get ready for manual tests
Comment #8
jrglasgow commentedI have modified the patch to add an additional key "ckeditor5-stylesheets" instead of replacing the "ckeditor_stylesheets" key to make the theme compatible ith both drupal/ckeditor (CKEditor 4) and drupal/ckeditor5
Comment #10
jrglasgow commentedmake a change to the patch to make it patch more reliable
Comment #11
adamps commentedNo longer postponed as the blocking issue is now fixed.
Comment #12
siddharthjain commentedThanks @jrglasgow for the patch in #10. It applies applies smoothly.
Comment #13
nick hope commented#10 works for me with Classy 1.0.2 in D10.2.0. Setting to RTBC.
Comment #14
solideogloria commented+1 RTBC. I've been using the patch a while.
Comment #15
bramdriesenDoubt this will ever get fixed as classy is deprecated. But the patch works for us as well as we work into removing classy as our base theme.
Comment #16
shalini_jha commentedI have added this patch in Drupal 9.5.11.
Comment #17
solideogloria commented@BramDriesen Core Classy is deprecated, but this is the contrib Classy module, which isn't deprecated. It's just contrib.
Comment #18
solideogloria commented@shalini_jha That is for Core, not for this module.
Comment #19
bramdriesenRE #17: Correct, but as it's not recommended for new projects, it does feel deprecated ;)
Comment #22
smustgrave commentedWill include with 2.0.x