From 5922e25b3d9f8ad1338913812de88192d0414a21 Mon Sep 17 00:00:00 2001 From: Ken Clary Date: Wed, 25 May 2022 12:10:37 -0400 Subject: [PATCH] fix: allow style tags inside html body, to match old editor behavior. TNL-9943. --- src/editors/containers/TextEditor/hooks.js | 1 + 1 file changed, 1 insertion(+) diff --git a/src/editors/containers/TextEditor/hooks.js b/src/editors/containers/TextEditor/hooks.js index f465bd022..68274dace 100644 --- a/src/editors/containers/TextEditor/hooks.js +++ b/src/editors/containers/TextEditor/hooks.js @@ -57,6 +57,7 @@ export const editorConfig = ({ contextmenu: 'link table', ...pluginConfig.config, valid_elements: '*[*]', + valid_children: '+body[style]', }, });