Issue Bug Closed

#90299addCssFile() for BE iframe "typo3-contentIframe"

Michael Sollmann 02/02/20, 21:18 updated 04/01/20, 21:14

Description

Assigning a css file to the BE via \TYPO3\CMS\Core\Page\PageRenderer::addCssFile() injects the file only into the main BE page, but not into the iframe “typo3-contentIframe”, so one cannot style the iframe content.

The assignment via $GLOBALS[‘TBE_STYLES’][‘skins’] injects the file in both, the main page and the iframe. But with that one cannot assign different files
dynamically depending e.g. on a user group.

addCssFile() should inject the css file also into the iframe, so as $GLOBALS[‘TBE_STYLES’][‘skins’] does.

Reviews 0

No change resolves or names this issue in its commit message, and no comment links one.