MDL-80081 editor_tiny: Allow empty content in the i tag

This commit is contained in:
meirzamoodle
2024-01-12 15:42:14 +07:00
parent 076379a485
commit b149b40a9c
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.