From d3aaeae255109dbcc84558a9183d7e81b471bcb9 Mon Sep 17 00:00:00 2001 From: Fabian Galinski <fabian@sgalinski.de> Date: Fri, 15 Sep 2017 14:30:54 +0200 Subject: [PATCH] [TASK] Removal of the RTE wizard --- Classes/Form/Element/RichTextElement.php | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/Classes/Form/Element/RichTextElement.php b/Classes/Form/Element/RichTextElement.php index 950b27c..cf19208 100644 --- a/Classes/Form/Element/RichTextElement.php +++ b/Classes/Form/Element/RichTextElement.php @@ -275,6 +275,10 @@ class RichTextElement extends AbstractFormElement { $html = $this->getMainHtml(); + if (isset($parameterArray['fieldConf']['config']['wizards']['RTE'])) { + unset($parameterArray['fieldConf']['config']['wizards']['RTE']); + } + $this->resultArray['html'] = $this->renderWizards( array($html), $parameterArray['fieldConf']['config']['wizards'], -- GitLab