I am trying to use the Content Editor and in particular the 'Edit HTML Source' button to input some HTML directly into the content.
However when I enter the HTML and then look at what has been saved - certain sections are missing. An example of a piece of code I am trying to insert is as follows:
<img CLASS="imagelinkpointerout" onmouseover="this.className='imagelinkpointerover'" onmouseout="this.className='imagelinkpointerout'" src="/themes/tutorial/images/links/test_logo.gif" width="170" height="106" ALT="Test Logo">
The resultant code is:
<img class="imagelinkpointerout" src="/themes/tutorial/images/links/test_logo.gif" border="0" width="170" height="106" ALT="Test Logo">
The onmouseover="this.className='imagelinkpointerover'" and onmouseout="this.className='imagelinkpointerout'" have been dropped for some reason.
I am confused as to why this is happening. Any suggestions on how I can resolve this would be appreciated. :-)
btw - I am running SilverStripe-v2.3.0-rc4