I have in my MySQL DB strings with code "<figure class="left marg_right1"><img src="/upload/images/news/14feb.jpg alt=""></figure><br />" but when i put this data into textarea, CK changes this code to "<img alt="" src="/upload/images/news/14feb.jpg" />"
Also, i have images in <p align="center">, but CKEditor changes <p align="center"> to <p>.
What can i do? i tried writing fullPage: true and allowedContent: true, but this does not help. Please give me a hand on deciding how to disable auto replacement of the area code.
$row = mysql_fetch_row($result); $nen=$row[3];
<textarea name=\"content_ru\" class=\"editor\">$nru</textarea>
<script type=\"text/javascript\">
CKEDITOR.replace('content_ru', {
fullPage: true,
allowedContent: true});