mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-08-27 21:15:40 +02:00
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 |