From 4e4614fb3cd14e533b641fb06c929b6c01a448a3 Mon Sep 17 00:00:00 2001
From: Stefan Galinski <stefan@sgalinski.de>
Date: Fri, 15 Sep 2017 13:29:02 +0200
Subject: [PATCH] [BUGFIX] Fix scrolling toolbar elements

---
 Classes/Form/Element/RichTextElement.php | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/Classes/Form/Element/RichTextElement.php b/Classes/Form/Element/RichTextElement.php
index dfbda5d..64d8c16 100644
--- a/Classes/Form/Element/RichTextElement.php
+++ b/Classes/Form/Element/RichTextElement.php
@@ -350,6 +350,9 @@ class RichTextElement extends AbstractFormElement {
 		}
 
 		$result = array();
+		// next line is required to fix the scrolling toolbar elements in the tinymce
+		$result[] = '<style>body{position:relative;}</style>';
+
 		// The hidden field tells the DataHandler that processing should be done on this value.
 		$result[] = '<input type="hidden" name="' . htmlspecialchars($triggerFieldName) . '" value="RTE" />';
 //		$result[] = '<div id="pleasewait' . $this->domIdentifier . '" class="pleasewait" style="display: block;" >';
-- 
GitLab