Hello.
I paste code in code editor:
<a href="#" class="client" title="test">
<img src="/Images/client2.png" alt="test" />
<p class="italic comm">test test test</p>
</a>
but when i see html and that see html again i see next:
<p><a class="client" href="#" title="test"><img alt="test" src="/Images/client2.png" /> </a></p>
<p class="italic comm"><a class="client" href="#" title="test">test test test</a></p>
My config:
CKEDITOR.editorConfig = function( config ) {
//config.allowedContent = ‘a[!href](*); ul(*); li(*); div(*); span(*); pre(*)’;
// Define changes to default configuration here. For example:
// config.language = 'fr';
// config.uiColor = '#AADC6E';
config.contentsCss = '/style.css';
config.allowedContent = true;
};
CKEDITOR.config.allowedContent = true;
Tell me plase how disable change html in editor ?