diff --git a/typo3/sysext/core/Documentation/Changelog/master/Breaking-82915-RemoveTypoScriptOptionPagestylesheet.rst b/typo3/sysext/core/Documentation/Changelog/master/Breaking-82915-RemoveTypoScriptOptionPagestylesheet.rst new file mode 100644 index 0000000000000000000000000000000000000000..597e831bf8abca8febeaa29ba8a203c4d8a82bd6 --- /dev/null +++ b/typo3/sysext/core/Documentation/Changelog/master/Breaking-82915-RemoveTypoScriptOptionPagestylesheet.rst @@ -0,0 +1,32 @@ +.. include:: ../../Includes.txt + +=========================================================== +Breaking: #82915 - Remove TypoScript option page.stylesheet +=========================================================== + +See :issue:`82915` + +Description +=========== + +The TypoScript option `page.stylesheet` has been removed. + + +Impact +====== + +Setting this option will have no effect anymore. + + +Affected Installations +====================== + +Any TYPO3 installation using this option. + + +Migration +========= + +Use a configuration like :ts:`page.includeCSS.aFile = fileadmin/styles.css` + +.. index:: Frontend, NotScanned diff --git a/typo3/sysext/frontend/Classes/Page/PageGenerator.php b/typo3/sysext/frontend/Classes/Page/PageGenerator.php index 3b7d807cafd6ea42dbf6f4454599554146b5ab39..2bb76ab1e791fabef3f097c9deb883c1ed7a1465 100644 --- a/typo3/sysext/frontend/Classes/Page/PageGenerator.php +++ b/typo3/sysext/frontend/Classes/Page/PageGenerator.php @@ -270,12 +270,6 @@ class PageGenerator self::addCssToPageRenderer($stylesFromPlugins, false, 'InlineDefaultCss'); } } - if ($tsfe->pSetup['stylesheet']) { - $ss = $tsfe->tmpl->getFileName($tsfe->pSetup['stylesheet']); - if ($ss) { - $pageRenderer->addCssFile($ss); - } - } /**********************************************************************/ /* config.includeCSS / config.includeCSSLibs /**********************************************************************/ diff --git a/typo3/sysext/t3editor/Resources/Private/tsref.xml b/typo3/sysext/t3editor/Resources/Private/tsref.xml index 313016c699f20ef02cd615fb35422705c19588a1..0fed785140801a215d2c906c1145d5ae303243c6 100644 --- a/typo3/sysext/t3editor/Resources/Private/tsref.xml +++ b/typo3/sysext/t3editor/Resources/Private/tsref.xml @@ -5070,14 +5070,6 @@ This must be a valid ".ico"-file (iconfile)]]></description> <property name="stdWrap" type="stdWrap"> <description><![CDATA[Wraps the content of the the cObject array with stdWrap options]]></description> <default><![CDATA[ -]]></default> - </property> - <property name="stylesheet" type="string"> - <description><![CDATA[Inserts a stylesheet in the <HEAD>-section of the page; -page.stylesheet = myStyleSheet.css -leads to -<link rel="stylesheet" href="myStyleSheet.css">]]></description> - <default><![CDATA[ ]]></default> </property> <property name="typeNum" type="int"> diff --git a/typo3/sysext/t3editor/Resources/Public/JavaScript/Mode/typoscript/typoscript.js b/typo3/sysext/t3editor/Resources/Public/JavaScript/Mode/typoscript/typoscript.js index ed63c4b093aecde1f9150fb6e0be1680d319f73f..86bd1d42261df0ff7b1d62787ea411cbc23890d9 100644 --- a/typo3/sysext/t3editor/Resources/Public/JavaScript/Mode/typoscript/typoscript.js +++ b/typo3/sysext/t3editor/Resources/Public/JavaScript/Mode/typoscript/typoscript.js @@ -825,7 +825,6 @@ 'strftime': kw('strftime'), 'stripHtml': kw('stripHtml'), 'styles': kw('styles'), - 'stylesheet': kw('stylesheet'), 'submenuObjSuffixes': kw('submenuObjSuffixes'), 'subMenuOffset': kw('subMenuOffset'), 'submit': kw('submit'),