Having problems with ckeditor randomly skipping contents of the textarea its initialized on (skipping paragraphs). And not updating the textarea when edited. (have to remove all the text and start from the beginning for the textarea to submit).
Textarea: <textarea name="content"><?=$page->content?></textarea>
loading it later: CKEDITOR.replace( 'content' );
the $page->content variable contains in this example 4 paragraphs with text, but when ckeditor is initialized it only shows 2 of them.
Seems this was a codeigniter
Seems this was a codeigniter xss filtering problem.