[TYPO3-RTE] how to keep title attribute in rtehtmlarea?

Stanislas Rolland stanislas.rolland at fructifor.ca
Sun Jan 15 07:39:00 CET 2006


Hi Onno,
>>
>>
>> RTE.config.tt_content.bodytext.proc {
>>    allowedClasses=uitleg_begrip,H1, H2, H3, P, bodytext, authors
>>    denyTags=font, size
>>    tags.span.allowedAttribs = id, class, title, alt
>> }
>>
>>
>> -- but it does not seem to work somehow, even though the text is 
>> indeed saved into tt_content.
>>
> The only attributes allowed on span tags are: class,style,xml:lang
> 
> This is hardcoded in t3lib_parsehtml_proc. Perhaps we should we get rid 
> of this hardcoded list?
> 
Sorry, I was wrong. You can override these hardcoded defaults with:

RTE.default.proc.HTMLparser_db.tags.span.allowedAttribs = id, class, 
title, alt

Best regards,
Stanislas





More information about the TYPO3-project-rte mailing list