From dac1d1b05f8791b0e1813cca3bbaa75aed2230f6 Mon Sep 17 00:00:00 2001 From: Hadi Nategh Date: Tue, 29 Oct 2019 13:36:39 +0100 Subject: [PATCH] Set style tag in htmlarea widget as valid by default --- api/js/etemplate/et2_widget_htmlarea.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/api/js/etemplate/et2_widget_htmlarea.js b/api/js/etemplate/et2_widget_htmlarea.js index 90d70d2bbf..0b61e5ed1c 100644 --- a/api/js/etemplate/et2_widget_htmlarea.js +++ b/api/js/etemplate/et2_widget_htmlarea.js @@ -78,7 +78,7 @@ var et2_htmlarea = (function(){ "use strict"; return et2_editableWidget.extend([ name: "Valid children", description: "Enables to control what child tag is allowed or not allowed of the present tag. For instance: +body[style], makes style tag allowed inside body", type: "string", - default: "" + default: "+body[style]" } },