Hello, I need in one of my CKEditors to disable autoediting code. If I put this code as HTML:
<div class="kontaktJeden"> <div class="obr"> <img src="images/insol.png" alt=""> </div> <div class="text"> <table> <tr><td><span class="meno"><strong>Text.</strong></span></td></tr> <tr><td><span class="text">Text</span></td></tr> <tr><td><span class="ico"><img src="images/ico.png" alt="">Text</span></td></tr> <tr><td><span class="dic"><img src="images/dic.png" alt="">Text</span></td></tr> <!-- <tr><td><span class="mob"><img src="images/phone.png" alt="">Text</span></td></tr> --> <tr><td><span class="mail"><img src="images/mail.png" alt="">Text</span></td></tr> <!-- <tr><td><a href=""><img src="images/fb.png" alt=""></a><a href=""><img src="images/yt.png" alt=""></a></td></tr> --> </table> </div>
CKEditor will change it to:
<p><img alt="" src="images/insol.png" /></p> <table> <tbody> <tr> <td><strong>Text.</strong></td> </tr> <tr> <td>Text</td> </tr> <tr> <td><img alt="" src="images/ico.png" />Text</td> </tr> <tr> <td><img alt="" src="images/dic.png" />Text</td> </tr> <!-- <tr><td><span class="mob"><img src="images/phone.png" alt="">Text</span></td></tr> --> <tr> <td><img alt="" src="images/mail.png" />Text</td> </tr> <!-- <tr><td><a href=""><img src="images/fb.png" alt=""></a><a href=""><img src="images/yt.png" alt=""></a></td></tr> --> </tbody> </table>
automatically. How can I disable it?
Thanks for any answer.
Might be ACF doing its magic.
Might be ACF doing its magic. You can check if that's the case by disabling ACF by adding this code to config.js:
Customer and Community Manager, CKSource
Follow us on: Facebook, Twitter, LinkedIn
If you think you found a bug in CKEditor, read this!
It works, thanks ;)
It works, thanks ;)