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.

Screenshot of Warning message.

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.

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

thejimbirch created an issue. See original summary.

thejimbirch’s picture

Assigned: thejimbirch » Unassigned
Status: Active » Needs review
FileSize
293 bytes

Patch attached.

Steps to validate.

  1. Enable ckeditor5
  2. Add or edit a text format at /admin/config/content/formats
  3. Select ckeditor5 as the editor and save
  4. Revisit the editor configuration
  5. Verify the warning no longer appears

  • saschaeggi committed ad694e8 on 8.x-3.x
    Issue #3322560 by thejimbirch:  Warning message: The Gin theme has...
saschaeggi’s picture

Status: Needs review » Fixed

Great, thank you!

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.