[TYPO3-RTE] Attribute lang vs xml:lang - Problems with the former

Ernesto Baschny [cron IT] ernst at cron-it.de
Tue Sep 23 18:04:17 CEST 2008


Martin Kutschker wrote: on 23.09.2008 11:17:

> I want to enter and save SPAN tags with a lang attribute. I thought I
> managed this once but now the RTE kills all my lang attributes. After
> digging into the code I found the place where my attribute is removed.
> I'm not sure why this happens and what is the purpose of it.
> 
> The problem is in class.t3lib_parsehtml_proc.php. In the function
> getKeepTags() is some magic that tries to clean the SPAN on the way to
> the DB. By doing so it removes the attribute lang and title.
> 
> I want to allow these attributes in future versions of TYPO3. Any
> objections?

How are you able to change those attributes in current RTE? I cannot
find any way to do that with current RTEhtmlarea buttons or context
menus. And if RTE doesn't allow me to change that, it would make no
sense to allow that information to be stored into DB (as it cannot be
changed anymore with the UI).

Cheers,
Ernesto


More information about the TYPO3-project-rte mailing list