#17634Remove default CSS
Description
Similiar to removeDefaultJS removeDefaultCSS just dont include any temporary CSS. This is especially usefull because you can exclude all the default CSS styles from an extension.
Of course also css_styled_content.. so you can/need include really all by yourself which is very ok – let the people decide
what you think?
I can’t make difs, but I hope you forgive metypo3\sysext\cms\tslib\class.tslib_pagegen.php
- 499
- if (is_array($GLOBALS[‘TSFE’]->tmpl->setup[‘plugin.’])) {
+ if (is_array($GLOBALS[‘TSFE’]->tmpl->setup[‘plugin.’]) && !$GLOBALS[‘TSFE’]->config[‘config’][‘removeDefaultCSS’]) {
(issue imported from #M6412)