My client want to change their flash-banners to html5+javascript based banners but tinyMce doesn't really like <script>-block and the javascript-code gets mangled.
I've tried adding "extended_valid_elements : script[src|type|language]" to our EditorInitConfigurationOptions in our TinyMCEPluginNonVisual-EditorSettingsclass but that only crashed the OnPage edit-mode.
I'm aware that there's a reason why you really shouldn't be able to write js-code in tinyMce but if there's some work around that would be great!
My client want to change their flash-banners to html5+javascript based banners but tinyMce doesn't really like <script>-block and the javascript-code gets mangled.
I've tried adding "extended_valid_elements : script[src|type|language]" to our EditorInitConfigurationOptions in our TinyMCEPluginNonVisual-EditorSettingsclass but that only crashed the OnPage edit-mode.
I'm aware that there's a reason why you really shouldn't be able to write js-code in tinyMce but if there's some work around that would be great!