mirror of
https://github.com/moodle/moodle.git
synced 2025-03-13 20:26:32 +01:00
MDL-33712 add support for unique moodle tags in tinymce
This commit is contained in:
parent
2cbdaa77ea
commit
64ed8ca214
@ -178,6 +178,9 @@ class tinymce_texteditor extends texteditor {
|
||||
$params['valid_elements'] = 'script[src|type],*[*]'; // for some reason the *[*] does not inlcude javascript src attribute MDL-25836
|
||||
$params['invalid_elements'] = '';
|
||||
}
|
||||
// Add unique moodle elements - unfortunately we have to decide if these are SPANs or DIVs.
|
||||
$params['extended_valid_elements'] = 'nolink,tex,algebra,lang[lang]';
|
||||
$params['custom_elements'] = 'nolink,~tex,~algebra,lang';
|
||||
|
||||
if (empty($options['legacy'])) {
|
||||
if (isset($options['maxfiles']) and $options['maxfiles'] != 0) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user