Created
April 15, 2014 13:02
-
-
Save markhowellsmead/10730690 to your computer and use it in GitHub Desktop.
TYPO3: Add custom blockstyle to RTE
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# 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.) | |
# [email protected] - 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 | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment