This commit is contained in:
Sara Arjona
2024-01-17 18:18:05 +01:00
3 changed files with 4 additions and 4 deletions
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
+2 -2
View File
@@ -249,9 +249,9 @@ const getStandardConfig = (target, tinyMCE, options, plugins) => {
// eslint-disable-next-line camelcase
a11y_advanced_options: true,
// Ensure that scripts are recognized as valid elements.
// Add specific rules to the valid elements.
// eslint-disable-next-line camelcase
extended_valid_elements: 'script[*]',
extended_valid_elements: 'script[*],p[*],i[*]',
// Disable XSS Sanitisation.
// We do this in PHP.