From b6bbe8c681e6bc329602aef5faa476e0954d5ffa Mon Sep 17 00:00:00 2001 From: Ralf Becker Date: Mon, 8 Jul 2019 10:09:01 +0200 Subject: [PATCH] trying to fix not working HtmlArea / TinyMCE in 19.1 seems it's caused by - for what ever reason - caching the wrong class for "htmlarea" widget --- api/src/Etemplate/Widget.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/api/src/Etemplate/Widget.php b/api/src/Etemplate/Widget.php index 22cb36cf2c..10cf0de52a 100644 --- a/api/src/Etemplate/Widget.php +++ b/api/src/Etemplate/Widget.php @@ -382,7 +382,9 @@ class Widget } } } + if (self::$widget_registry['htmlarea'] === Api\Etemplate\Widget\HtmlArea::class) Api\Cache::setInstance('etemplate', 'widget_registry', self::$widget_registry, 3600); + else error_log(__METHOD__."() wrong class for Htmlarea: ".function_backtrace ()); } else {