Enabling scripts to be embedded into TinyMCE / Rich Text Editor Data Type (Umbraco 7.4,Umbraco 7.6)

By default, the TinyMCE rich text editor in Umbraco doesn't recognise an inserted script (e.g. javascript) without you declaring the file type as a valid element.

In order to declare this file type, insert the below (within the <![CDATA and <validElements> tags) into the tinyMceConfig.config file within your Config folder: 



** Below example has been tested on v7.1.6 & v7.4.0


*** Please remember to restart your app pool for changes to take effect ***