I'm getting this code via ajax:
<script>
$(function(){
$('#responseContent').ckeditor();
});
</script>
<textarea id='responseContent'></textarea>
It successfully generates a CKEditor pane for beautiful text editing.
When this same piece of code is called a second time, I get a blank area. Oddly, when I do an "inspect element" on where the textarea/ckeditor should be, it says:
<textarea id="responseContent" style="visibility: hidden; "></textarea>
So, being the professional hack that I am, I jQuery'd it so be visibility:visible. The CSS stuck but the results didn't look any different.
How do you make ckeditor work... all the time... with ajax generated data?
EDIT: Just to be clear, I don't believe this is a CSS issue. I believe it's a jquery/ckeditor issue.