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