[TYPO3-rte] how to eliminate alt="undefined" in link icons?

Stephan Bernhard grac at gmx.ch
Fri Nov 8 08:21:38 CET 2013


hi list

nobody seems to answer?!

another attempt to clear my situation (TYPO3 version 4.5.28, rtehtmlarea 
version 2.1.7).

my page TS configuration:

RTE.classesAnchor.internalLinkInNewWindow {
     class = internal-link-new-window
     type = page
     image = fileadmin/.../img/icons/internal_link_new_window.gif
     altText =
     titleText =
   }

and here is a resulting test-link:

<p>
    <a class="internal-link-new-window" target="_self" 
href="testseiten/textformatierung/">
       <img src="fileadmin/.../img/icons/internal_link_new_window.gif" 
alt="undefined"> in­ter­ner Link neues Fens­ter
    </a>
</p>

my question is: why does rtehtmlarea replace an empty altText attribute 
with "undefined"?

thanks again for any hint and help

stephan




On 06.11.2013 08:46, Stephan Bernhard wrote:
> hi list
>
> by emptying the entry in
>
>      RTE.classesAnchor.externalLink.altText =
>
> rtehtmlarea generates the unwanted attribute
>
>      alt="undefined"
>
> how can i suppress this unnecessary attribute?
>
> thanks for any help and hint
>
> stephan



More information about the TYPO3-project-rte mailing list