After enabling the ckeditor5 module and configuring and saving a text format, I get the following message on the editor's screen at /admin/config/content/formats/manage/text-format-name
.
Warning message
The Gin theme has ckeditor_stylesheets configured without a corresponding ckeditor5-stylesheets configuration. See the change record for details.
In this issue, it looks like you solved a lot of styling issues in CKEditor5. Since CKEditor5 is now on the page and not in an iframe, Gin's styles apply to it. In this case, I believe there is no need to have ckeditor5-stylesheets
.
According to the change order, to remove the Warning, we need to add ckeditor5-stylesheets: false
to the .info file.
Your text format reports that you have themes using the ckeditor_stylesheets setting without an equivalent ckeditor5-stylesheets setting, but you have no need to add stylesheets for CKEditor 5
In your top-level theme(s), set ckeditor5-stylesheets: false to remove the warning without having to add any stylesheets.
Patch to follow.
Comment | File | Size | Author |
---|---|---|---|
#2 | gin-3322560-2-ckeditors-stylesheet.patch | 293 bytes | thejimbirch |
Comments
Comment #2
thejimbirch CreditAttribution: thejimbirch at Kanopi Studios commentedPatch attached.
Steps to validate.
Comment #4
saschaeggiGreat, thank you!