Enabling scripts to be embedded into TinyMCE / Rich Text Editor Data Type

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: 

script[type|src|language]

 

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

 

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