Bug #17316
closedSetting of text color and background text color failed in IE 6.0/7.0
0%
Description
This bug I have found on each Typo 4.0+ versions. It makes problem only with Internet Explorer (6.0+7.0), Firefox is OK.
1. I select some part of text and click on the icon "textcolor", JS window comes with predefined colors, I choose a color (screen nr. 01).
2. The color seems to be applied (screen nr. 02)
3. But when I switch to HTML source code (in RTE) there si no code for text-color formating like ... span style="color: rgb(156, 0, 78);" ... (screen nr. 03). When I switch back to nonHTML mode of RTE the color of text is lost. It does not help, when I do not switch to HTML code and after aplying of color I immediately save the content element.
4. When I try to do the same in Firefox, everything works fine, also source code have the formatting code after aplying selected color (see screen 04)
Additonal info:
Typo3 4.1.1
rtehtmlarea 1.5.2
(issue imported from #M5653)
Files
Updated by Stanislas Rolland about 17 years ago
Please check what value you have in PageTSConfig for
RTE.default.removeTags and RTE.default.useCSS
IE inserts a font tag. If the font tag is listed in RTE.default.removeTags, it will be removed when toggling to text.
If RTE.default.useCSS is set, Firefox inserts a span tag. The span tag will be kept if not listed in RTE.default.removeTags
Updated by Peter Zak about 17 years ago
Hi,
thank you very much for your help. It works now perfect also in IE. The problem was - like you suggested - in "RTE.default.removeTags", where the FONT was presented. So, it was not bug, but my mistake, I should read documentation better.