Actions
Bug #32625
closedCustom RTE-styles broken
Status:
Closed
Priority:
Must have
Assignee:
Category:
RTE (rtehtmlarea + ckeditor)
Target version:
Start date:
2011-12-16
Due date:
% Done:
100%
Estimated time:
TYPO3 Version:
4.7
PHP Version:
5.3
Tags:
Complexity:
Is Regression:
Sprint Focus:
Description
Fix for #29899 broke custom HTML-styles.
Check for
file_exists(PATH_site . $fileName)
results in paths like:
/var/www/html/../fileadmin/rte.css
(which is one ../ too deep)
That path is because of the fact it was created to be used for /typo3/alt_doc.php to find it's CSS with relative URLs.
This is broken in the latest release of 4.5.9, 4.6.2 and master.
How to test:- Create a fileadmin/rte.css
- Add page-TS: RTE.default.contentCSS = fileadmin/rte.css
- Try editing content in RTE -> falls back to default.css
Actions