Merge branch 'MDL-80081-main' of https://github.com/meirzamoodle/moodle
This commit is contained in:
+1
-1
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user