newzero
7/10/2014 - 10:41 PM

rte.txt

# Define specific block style for the RTE editor in TYPO3 v6.1.7+
# Probably works in older v6 versions, but not tested
# Add the following to TS config on the root page of your site
# and add applicable CSS rules to e.g. fileadmin/templates/unia2014/Resources/Public/css/RTE.css
# to make the formatting work in the BE.
# (You will need to add the CSS to your FE CSS too.)
 
# m@mhm.li - 04/2014 - Free use, no credit required

RTE.classes{
	h4 {
		name = LLL:EXT:frp_contentcustomizer/Resources/Private/Language/locallang.xlf:tt_content-header-h4
		# OR: name = My new block style
		value = h4
	}
}

RTE.default {
	ignoreMainStyleOverride = 1 
	useCSS = 1
	showTagFreeClasses = 1
	contentCSS = fileadmin/templates/unia2014/Resources/Public/css/RTE.css
	proc.allowedClasses = h4
}