MDL-83668 tiny: customize allowed HTML tags and attributes

This commit is contained in:
Stephan Robotta
2025-01-06 08:32:00 +01:00
parent c58bc49a07
commit 60fb52e209
7 changed files with 16 additions and 4 deletions
+1
View File
@@ -178,6 +178,7 @@ class editor extends \texteditor {
'currentLanguage' => current_language(),
'branding' => property_exists($siteconfig, 'branding') ? !empty($siteconfig->branding) : true,
'extended_valid_elements' => $siteconfig->extended_valid_elements ?? 'script[*],p[*],i[*]',
// Language options.
'language' => [