Bug: ckeditor5.css file is missing

Created on 1 May 2025, 16 days ago

Problem/Motivation

I am using the latest version of the starter kit theme and ran into this error on a Layout Builder page:

Warning: file_get_contents(themes/mcc_theme/assets/css/ckeditor5.css): Failed to open stream: No such file or directory in Drupal\system\Controller\CssAssetController->generateHash() (line 43 of core/lib/Drupal/Core/Asset/AssetGroupSetHashTrait.php).
Drupal\system\Controller\CssAssetController->generateHash() (Line: 184)
Drupal\system\Controller\AssetControllerBase->deliver()
call_user_func_array() (Line: 123)
Drupal\Core\EventSubscriber\EarlyRenderingControllerWrapperSubscriber->Drupal\Core\EventSubscriber\{closure}() (Line: 593)
Drupal\Core\Render\Renderer->executeInRenderContext() (Line: 121)
Drupal\Core\EventSubscriber\EarlyRenderingControllerWrapperSubscriber->wrapControllerExecutionInRenderContext() (Line: 97)
Drupal\Core\EventSubscriber\EarlyRenderingControllerWrapperSubscriber->Drupal\Core\EventSubscriber\{closure}() (Line: 183)
Symfony\Component\HttpKernel\HttpKernel->handleRaw() (Line: 76)
Symfony\Component\HttpKernel\HttpKernel->handle() (Line: 53)
Drupal\Core\StackMiddleware\Session->handle() (Line: 48)
Drupal\Core\StackMiddleware\KernelPreHandle->handle() (Line: 28)
Drupal\Core\StackMiddleware\ContentLength->handle() (Line: 32)
Drupal\big_pipe\StackMiddleware\ContentLength->handle() (Line: 116)
Drupal\page_cache\StackMiddleware\PageCache->pass() (Line: 90)
Drupal\page_cache\StackMiddleware\PageCache->handle() (Line: 48)
Drupal\Core\StackMiddleware\ReverseProxyMiddleware->handle() (Line: 51)
Drupal\Core\StackMiddleware\NegotiationMiddleware->handle() (Line: 36)
Drupal\Core\StackMiddleware\AjaxPageState->handle() (Line: 51)
Drupal\Core\StackMiddleware\StackedHttpKernel->handle() (Line: 709)
Drupal\Core\DrupalKernel->handle() (Line: 19)

Steps to reproduce

You can see the definition here in ui_suite_daisyui/starterkits/ui_suite_daisyui_starterkit/ui_suite_daisyui_starterkit.info.yml:

ckeditor5-stylesheets:
  - assets/css/ckeditor5.css

Proposed resolution

One of four options come to mind:
1. Remove the definition in the info file
2. Add a file and an assets folder
3. Generate a file as a part of the theme building process
4. Add information on including your own css file in that path as part of the original setup process.

๐Ÿ› Bug report
Status

Active

Version

5.0

Component

Code

Created by

๐Ÿ‡บ๐Ÿ‡ธUnited States joshmiller Indianapolis, Indiana, USA

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

Comments & Activities

Production build 0.71.5 2024