[TYPO3-english] custom class in RTE - Typo3 6.1.3

PIT Solutions typo3 at pitsolutions.com
Mon Sep 9 11:03:00 CEST 2013


Hi All,

I anm using typo3 version 6.1.3. I need to add a new custom block style/ class / text style in RTE.
I've tried several typoscript code in root page TS config.

RTE.classes {
  lead { 
        name = Lead 
        }
}

RTE.default {
  showButtons = *
  ignoreMainStyleOverride = 1  
  showTagFreeClasses = 1

  useCSS = 1
  contentCSS = fileadmin/templates/css/rte.css
  classesParagraph :=
 addToList(lead)             
  proc.allowedClasses := addToList(lead)
}


--------------------------------
rte.css file
--------------------------------
.lead {
color:#92117E;
}


The above code worked in Typo3 4.7 but not working with 6.1.

Is any change occurs in Typo3 6.1 ?. Please help me,

Thanks & Regards, 
Arun Chandran


More information about the TYPO3-english mailing list