1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
| # Put this into Page TSConfig
# Rich Text Editor configuration
# https://docs.typo3.org/typo3cms/extensions/rtehtmlarea/Configuration/PageTsconfig/interfaceConfiguration/Index.html
# https://docs.typo3.org/typo3cms/CoreApiReference/Rte/Transformations/Index.html
# https://docs.typo3.org/typo3cms/TyposcriptReference/Functions/Htmlparser/Index.html
RTE.default {
showButtons = bold, strong, emphasis, italic, unorderedlist, link, unlink, chMode
RTEHeightOverride = 300
proc {
# allowTags gets added to the built-in list, so we use denyTags
# default allowtags:
# a,b,blockquote,br,center,div,em,font,hr,i,img,li,ol,p,pre,span,strike,strong,sub,sup,u,ul
denyTags = blockquote, center, div, font, h1, h2, h3, h4, h5, h6, hr, img, ol, pre, span, strike, sub, sup, strike, u
entryHTMLparser_db = 1
entryHTMLparser_db {
removeTags < RTE.default.proc.denyTags
noAttrib = b, br, div, em, i, li, p, strong, ul
tags >
# prevent activation of RteHtmlParser::transformStyledATags()
tags.a.allowedAttribs = href,title,target
}
}
}
|