Project

General

Profile

Actions

Bug #90299

closed

addCssFile() for BE iframe "typo3-contentIframe"

Added by Michael Sollmann almost 5 years ago. Updated over 4 years ago.

Status:
Closed
Priority:
Should have
Assignee:
-
Category:
Backend User Interface
Target version:
-
Start date:
2020-02-02
Due date:
% Done:

0%

Estimated time:
TYPO3 Version:
9
PHP Version:
Tags:
Complexity:
Is Regression:
Sprint Focus:

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.

Actions

Also available in: Atom PDF