#100901Missing custom CSS in NewContentElementWizard
Description
Since the new web component based NewContentElementWizard custom included CSS via TBE_STYLES is not included anymore.
This leads to broken preview icons, if a custom IconProvider was used. E.g. Mask uses FontAwesome Icons, but the CSS is not included from
@$GLOBALS[‘TBE_STYLES’][‘skins’][‘fontawesome_provider’][‘stylesheetDirectories’][‘css’] = ‘EXT:fontawesome_provider/Resources/Public/Css/’;@
The backend.css file seems to be hard-coded:
Build/Sources/TypeScript/backend/new-content-element-wizard.ts:343
// Load shared css file
const link = document.createElement('link');
link.setAttribute('rel', 'stylesheet');
link.setAttribute('href', TYPO3.settings.cssUrls.backend);
this.shadowRoot.appendChild(link);
typo3/sysext/core/Classes/Page/PageRenderer.php:2244
protected function addGlobalCSSUrlsToInlineSettings()
{
$this->inlineSettings['cssUrls'] = [
'backend' => $this->getStreamlinedFileName('EXT:backend/Resources/Public/Css/backend.css'),
];
}
Reviews 1
Related issues 1
Files 1
History 810
-
Gerrit Code Review pushed patch set 1 for main to change 79093 status
NewUnder Review <span data-processor="relativetime" data-value="2023-05-19T13:35:10+00:00" > 05/19/23, 13:35 </span> -
Gerrit Code Review pushed patch set 2 for main to change 79093 <span data-processor="relativetime" data-value="2023-05-19T14:11:02+00:00" > 05/19/23, 14:11 </span>
-
Nikita Hovratov changed attached mask-fa-icon.png description <span data-processor="relativetime" data-value="2023-05-20T17:03:18+00:00" > 05/20/23, 17:03 </span>
-
Benni Mack changed Sprint Focus Stabilization Sprint <span data-processor="relativetime" data-value="2023-06-06T12:49:27+00:00" > 06/06/23, 12:49 </span>
-
Markus Klein changed status
Under ReviewAccepted <span data-processor="relativetime" data-value="2024-07-25T13:12:25+00:00" > 07/25/24, 13:12 </span> -
Markus Klein commented <span data-processor="relativetime" data-value="2024-07-25T13:13:41+00:00" > 07/25/24, 13:13 </span>
Cross-link: https://github.com/Gernott/mask/issues/551
-
Benni Mack changed Related to #100065 <span data-processor="relativetime" data-value="2025-03-25T11:35:49+00:00" > 03/25/25, 11:35 </span>
-
Benni Mack commented <span data-processor="relativetime" data-value="2025-03-25T11:35:58+00:00" > 03/25/25, 11:35 </span>
Introduced with #100065
-
Georg Ringer commented and changed status
AcceptedClosed <span data-processor="relativetime" data-value="2026-10-06T15:18:26+00:00" > 10/06/26, 15:18 </span>not needed anymore, can be closed
The font custom icons for mask elements are very important to make the new content element wizard user friendly. This bug will break that for upgrades and make creating new icons more tedious.
Maybe we can sponsor the fix?