From fc1e0679fb574f2937bd5bae729509f7198e87f8 Mon Sep 17 00:00:00 2001 From: Hadi Nategh Date: Mon, 14 Oct 2019 14:57:45 +0200 Subject: [PATCH] Fix htmlarea "enable features in toolbar" preference not working --- api/js/etemplate/et2_widget_htmlarea.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/api/js/etemplate/et2_widget_htmlarea.js b/api/js/etemplate/et2_widget_htmlarea.js index 0f0066d4a5..7daab5a35c 100644 --- a/api/js/etemplate/et2_widget_htmlarea.js +++ b/api/js/etemplate/et2_widget_htmlarea.js @@ -350,6 +350,8 @@ var et2_htmlarea = (function(){ "use strict"; return et2_editableWidget.extend([ case 'advanced': settings.toolbar = et2_htmlarea.TOOLBAR_ADVANCED; break; + default: + this.mode = ''; } // take rte_toolbar into account if no mode restrictly set from template