mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-22 14:05:37 +02:00
fb9753ddc4
TinyMCE strips them by default, but if they're specifically added to the allowed elements we should respect that setting. Example PHP config: $validEls = HtmlEditorConfig::get('cms')->getOption('extended_valid_elements'); $validEls .= ',script[src|type]'; HtmlEditorConfig::get('cms')->setOption('extended_valid_elements', $validEls); |
||
---|---|---|
.. | ||
img | ||
langs | ||
editor_plugin_src.js |