Hi,
I am using SilverStripe v 2.3.6
I would like to be able to turn off or change the HTML Validation for the TinyMCE Edit HTML Source pop window on the Content.
Does anyone know how to do this?
So far I have entered html only to have it changed and not display properly on the front end.
To fix this I have changed the /cms/_config.php file from
'valid_elements' => "+a[id|rel|r......",
to
'valid_elements' => "*
- ",
This did not work.
Nor did changing the value to be the Full XHTML rule set from
http://wiki.moxiecode.com/index.php/TinyMCE:Configuration/valid_elementsAlso set the extended_valid_elements.
I tried following this
http://rationalogic.com/cms/silverstripe-tinymce-and-complex-html/I have also made changes to the /jsparty/tinymce2/tiny_mce.js
This
<img id="placeholder" src="images/galleryimage1.jpg" alt="image gallery" class="right" />
becomes
<p><img src="images/galleryimage1.jpg" alt="image gallery" class="right" /></p>I realise this is more a TinyMCE problem but if anyone can shed any light I'd be very very very grateful.