From 1271e9074bfb7a7c2ac51f94fca27397f1e84328 Mon Sep 17 00:00:00 2001 From: Toben Schmidt <noreply@example.com> Date: Thu, 16 Jan 2020 10:25:50 +0000 Subject: [PATCH] [DOCS] Add example to RTE configuration concepts This change adds a real life example to section "Overriding Configuration via Page TSconfig". Releases: master,9.5,8.7 Resolves: #90128 Change-Id: Ibb434bc3ec7ff3766186fd26a839fa16cd40ea43 Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/62928 Tested-by: Felix P. <f.pachowsky@neusta.de> Tested-by: TYPO3com <noreply@typo3.com> Tested-by: Daniel Goerz <daniel.goerz@posteo.de> Reviewed-by: Felix P. <f.pachowsky@neusta.de> Reviewed-by: Daniel Goerz <daniel.goerz@posteo.de> --- .../Documentation/Configuration/Concepts.rst | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/typo3/sysext/rte_ckeditor/Documentation/Configuration/Concepts.rst b/typo3/sysext/rte_ckeditor/Documentation/Configuration/Concepts.rst index 4ddb5d84bf0d..fd3d32006a91 100644 --- a/typo3/sysext/rte_ckeditor/Documentation/Configuration/Concepts.rst +++ b/typo3/sysext/rte_ckeditor/Documentation/Configuration/Concepts.rst @@ -176,9 +176,14 @@ and per-type basis: content elements with Content Type “Bullet list†(CType=bullets). Of course, any other specific option set via Yaml can be overridden via -Page TSconfig as well. +Page TSconfig as well: -.. todo: real world example usages +.. code-block:: typoscript + + # Allow iframe tag with all attributes and all styles in bodytext field of content elements (Requires additional processing configuration) + RTE.config.tt_content.bodytext.editor.config.extraAllowedContent = iframe[*]{*} + # Restrict format_tags to h2 in bodytext field of content elements + RTE.config.tt_content.bodytext.editor.config.format_tags = h2 The loading order for configuration is: -- GitLab