i read some contents ( part of html source code which contain tigs like div img javascript and so on) form txt into ckeditor
<div align=center><div id="poptrox"> <!-- start --> <ul id="Z1400365095"><a href="userfiles/2014/05/IMG_0469.jpg"><img width=223 height=166 src="userfiles/2014/05/IMG_0469.jpg" title="" /></a><br />takentime1400365095 </ul> <!-- end --> <script type="text/javascript"> $("#Z1400365095").poptrox(); </script></div></div>
,but the contents are changed,
<div><div id="poptrox"><!-- start --><ul> <br /> <li> takentime1400365095 </li></ul><!-- end --></div></div>
but i want the initial code.
what should i do?
You cannot load invalid HTML
You cannot load invalid HTML into CKEditor (there's no <li> element in your list). Read more in the Basic CKEditor concepts article. The second thing that modifies your code is the Advanced Content Filter. You can extend its settings, but first of all, your HTML needs to be valid.
Piotrek (Reinmar) Koszuliński
CKEditor JavaScript Developer
--
CKSource - http://cksource.com
--
Follow CKEditor on: Twitter | Facebook | Google+
got it ! thanks!
got it ! thanks!