[TYPO3-core] FYI: Added feature #7875: htmlArea RTE: Coloured text is created using font-tag instead of span in IE
Stanislas Rolland
typo3 at sjbr.ca
Thu Oct 9 02:13:24 CEST 2008
FYI: The attached SVN patch was committed.
Type:
Feature
Problem:
In all browsers other than Firefox, the execCommand method generates
font tags when colouring commands are used.
Solution:
The attached patch will change the behaviours of both the DefaultColor
and TYPO3Color extensions so that text and background colour is always
set using a style attribute in all browsers. DefaultColor will simply
insert span tags with style attribute. TYPO3Color will also allow to
set/unset the color or background-color properties of the style
attribute on any element in which the cursor is positionned or which is
selected through the status bar at the bottom of the RTE editing area.
A new EM configuration variable is added to enable/disable features that
use the style attribute. Appropriate proc options will then be configured.
The same patch also addresses issue #8847 requesting a field in which
the author may enter a specific colour code. This is added in the
TYPO3Color dialogue.
Bugtracker references:
http://bugs.typo3.org/view.php?id=7875
http://bugs.typo3.org/view.php?id=8847
Branches:
trunk (revision 4300)
Regards,
Stanislas
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: rtehtmlarea_feature_7875.patch
Url: http://lists.netfielders.de/pipermail/typo3-team-core/attachments/20081008/836639e1/attachment-0001.txt
More information about the TYPO3-team-core
mailing list