Issue Bug Closed

#29234RTE only loads TD styles from external css file on reload

Ernesto Baschny 08/24/11, 21:23 updated 10/02/18, 12:19

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):

rte-table-styles-01-first-load.png

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

rte-table-styles-02-first-load-rte.png

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

rte-table-styles-03-reload.png

And the RTE works as expected:

rte-table-styles-04-reload-rte.png

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.

Reviews 5