From 4b34251fe1aea879a39a6e46edbd7599638528b7 Mon Sep 17 00:00:00 2001 From: Christian Weiske Date: Fri, 27 Nov 2015 11:14:14 +0100 Subject: [PATCH] --- rte.ts | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) create mode 100644 rte.ts diff --git a/rte.ts b/rte.ts new file mode 100644 index 0000000..6c0d4dc --- /dev/null +++ b/rte.ts @@ -0,0 +1,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 + + overruleMode = ts_css + + entryHTMLparser_db = 1 + entryHTMLparser_db { + allowTags = a, b, br, i, li, link, p, strong, ul + denyTags < RTE.default.proc.denyTags + noAttrib = b, br, div, em, i, li, strong, ul + tags > + } + } +} -- 2.30.2