[TYPO3-RTE] Styles for links

Stanislas Rolland typo3 at sjbr.ca
Fri Sep 26 06:08:53 CEST 2008


Hi Victor,
> 
> How can I include my own styles for page links in RTE? F.e. I want,
> when I click "Insert Web Link" button choose from drop-down menu
> "Style:" not only "internal-link" and "internal-link-new-window", but
> also some custom styles.
> 
> I've read documentation and found a way, but it doesn't work
> correctly...
> 
> I've put into my Page TSConfig:
> 
> RTE.default.contentCSS = fileadmin/template/css/style-rte.css
> RTE.classesAnchor {
>      download {
>          class = download
>          type = page
>          image >
>      }
>      download-1 {
>          class = download-1
>          type = page
>          image >
>      }
> }
> 
I think you would need something like:

RTE.default.classesLinks := addToList(download-1)

Regards,
Stanislas


More information about the TYPO3-project-rte mailing list