Project

General

Profile

Actions

Bug #17316

closed

Setting of text color and background text color failed in IE 6.0/7.0

Added by Peter Zak about 17 years ago. Updated about 16 years ago.

Status:
Closed
Priority:
Should have
Category:
-
Target version:
-
Start date:
2007-05-19
Due date:
% Done:

0%

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

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

screens.gif (71.4 KB) screens.gif Administrator Admin, 2007-05-19 00:34
Actions #1

Updated by Stanislas Rolland over 16 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

Actions #2

Updated by Peter Zak over 16 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.

Actions

Also available in: Atom PDF