From 7a2114dcc8ab9cb3c0a8bed1a2f99c2dab435c98 Mon Sep 17 00:00:00 2001 From: Manfred Kindl Date: Thu, 31 Jan 2019 16:19:55 +0100 Subject: [PATCH] CMS WYSIWYG-Editor erlaubt alle HTML-Elemente --- cms/admin.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/cms/admin.php b/cms/admin.php index ddf0dd34a..89308f019 100644 --- a/cms/admin.php +++ b/cms/admin.php @@ -144,7 +144,8 @@ if(isset($_POST['NewContent'])) protect: [ /\<\/?(audio[^>]+|audio)\>/g, // Protect und ], /\<\/?(source[^>]+)\>/g, // Protect ], /\<\/?(video[^>]+|video)\>/g // Protect und ], - ], + ], + valid_elements: "*[*]", // Allow all attributes in all Tags. Documentation see: https://www.tiny.cloud/docs-3x/reference/configuration/Configuration3x@valid_elements/ file_browser_callback: "FHCFileBrowser",