[TYPO3] Adding anchor classes to rtehtmlarea

Lamb, Brian blamb at jcvi.org
Wed May 14 21:25:22 CEST 2008


Hello all, 

 

I am trying to add a new class for links to the rtehtmlarea. I edited
the TSconfig on the root page to be the following:

 

TCEMAIN.clearCacheCmd = all

 

RTE {

  default {

    classesLinks = internal-link-image

    proc.allowedClasses (

      internal-link-image

    )

  }

  

  classesAnchor {

    externalLink {

      altText =

      titleText =

    }

    externalLinkInNewWindow {

      altText =

      titleText =

    }

    internal-link-image {

      type = page

      altText = 

      titleText = 

      class = internal-link-image

      name = internal-link-image

    }

    internalLink {

      altText =

      titleText =

    }

    internalLinkInNewWindow {

      altText =

      titleText =

    }

    download {

      altText =

      titleText =

    }

    mail {

      altText =

      titleText =

    }

  }

}

 

But this does not add the new class. Has anyone had success doing this
in the past? 



More information about the TYPO3-english mailing list