[TYPO3-RTE] how to keep title attribute in rtehtmlarea?
Onno Schuit
o.schuit at solin.nl
Thu Jan 12 10:14:57 CET 2006
Ok, thanks for the explanation.
I'll use an <a> instead to carry the title attribute, and use css to
change the behaviour of the <a> tag.
Cheers,
Onno
Stanislas Rolland wrote:
> Hi Onno,
>
>>
>> How do you keep title attributes on span tags in the rte (specifically
>> rtehtmlarea)?
>>
>> Whenever I type in: <span title="some text">...</span>, the title
>> attribute is stripped.
>>
>> In the Page TSConfig I've tried this:
>>
>>
>> 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?
>
> Stanislas
More information about the TYPO3-project-rte
mailing list