How to add custom class in RTE box + TYPO3.


 
For add your class in RTE of TYPO3 then you have to add below typoscript in you page property. ( IN TAB – Resource -> TypoScript Configuration – Page TSConfig )

You have to include your css for apply your css in RTE area.

RTE {
    default {
        contentCSS = fileadmin/templates/style/rte.css
        classesAnchor >
        classesLinks =
        showTagFreeClasses = 1       
        classesCharacter := addToList(linkBlue)
        proc.allowedClasses := addToList(linkBlue)
    }
}

It will look like in RTE (Below screen.) First you have to set your content and choose your content.. then after you can choose your block style.

RTE

If you have any query then feel free to contact me at Jainish Senjaliya

Advertisements

5 thoughts on “How to add custom class in RTE box + TYPO3.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s