[TYPO3-RTE] HTMLArea 1.7.5 and colors

Chris chris at oblady.com
Fri Aug 15 12:54:36 CEST 2008


Sorry, my bad!

it only happened on one content element, which I used while testing...
everything's fine, in the database all other content elements were saved 
  with <em> and <strong> tags.
I just had to re-edit the one I worked on.

regards,

Chris

Chris a écrit :
> Hello again,
> 
> I have now another question :
> as the website I'm working on was previously based on a Typo3 version 
> 4.1.5, the tags used for <strong> and <em> saved in the database were 
> <b> and <i>.
> Thanks to your answer, I now can insert <strong> and <em> tags in the 
> new content elements, but the old content elements are now rendered in 
> the frontend with <b> and <i> tags.
> In the previous version, these tags were remapped, or in the manual it 
> seems that this option is not available anymore (didn't find it).
> 
> Should I treat this via sql with a search/replace or is there another 
> way to get these tags remapped ?
> 
>>
>> Stanislas Rolland a écrit :
>>> Hi Chris,
>>>>
>>>> My question is : is there anyway to insert colors with a span tag 
>>>> while keeping the RTE insert b/strong and i/em tags ?
>>>
>>> I suggest to use RTE.default.useCSS = 1 (as you found out).
>>> This is the best you can do for now for colors as the RTE is still 
>>> using the native browser methods (note that IE will still use font 
>>> tags).
>>>
>>> and to check "Enable additional inline elements" in the Extension 
>>> manager. This will change the behaviour of the b/strong, i/em and all 
>>> inline elements buttons (see the manual for more details). But the 
>>> markup will be clean.
>>>
>>> Regards,
>>> Stanislas


More information about the TYPO3-project-rte mailing list