mirror of
https://github.com/OrchardCMS/Orchard.git
synced 2025-11-28 09:22:55 +08:00
#17676: TinyMCE strips script "src" attributes despite valid_elements being set to "*[*]"
--HG-- branch : 1.x
This commit is contained in:
@@ -9,5 +9,7 @@
|
||||
theme_advanced_buttons2: "",
|
||||
theme_advanced_buttons3: "",
|
||||
convert_urls: false,
|
||||
valid_elements: "*[*]"
|
||||
valid_elements: "*[*]",
|
||||
// shouldn't be needed due to the valid_elements setting, but TinyMCE would strip script.src without it.
|
||||
extended_valid_elements: "script[type|defer|src|language]"
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user