Project

General

Profile

Actions

Bug #29234

closed

RTE only loads TD styles from external css file on reload

Added by Ernesto Baschny over 13 years ago. Updated about 6 years ago.

Status:
Closed
Priority:
Should have
Category:
RTE (rtehtmlarea + ckeditor)
Target version:
-
Start date:
2011-08-24
Due date:
% Done:

100%

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

Description

Hi,

I want to enable Table-Cell styles in RTEhtmlarea. It works great, but I have problems with IE8. Here's the setup:

TYPO3 4.5.5
PageTS:

RTE.default {
contentCSS = fileadmin/contentRTE.css
classesTD := addToList(highlight-blue)
}

fileadmin/contentRTE.css contains:

TD.highlight-blue { background-color: #003399; color: #ffffff; font-weight: bold;  }
TD.align-left { text-align: left; }
TD.align-center { text-align: center; }
TD.align-right { text-align: right; }

Now everything works as expected in FF and Chrome. In IE8, on first loading of an editing Form, I get these CSS loaded (shown in the F12 - developer tools):

The RTE displays the list of available TD classes like this. Not even "Justify Left" etc are shown!

Then I simply reload the frame where the RTE is located. The CSS list is now this:

And the RTE works as expected:

Of course I cannot tell the editor to keep reloading the editing frame before beginning, so I would love to see this fixed.

If an environment is required to reproduce, please let me know. I was able to transfer the above scenario from one very complex installation to a simple and and reduced the test-bed to simple the above shown, so it should be simple to test.


Files

Actions

Also available in: Atom PDF