Hi, I havn't had any problems with CKEditor on my other sites, but this current site in particular bugs me out.
What happens is when I create a new content where Ckeditor is active it adds this at the top:
< p>undefined<!-- break --></ p>
And that "red" break line beneath it. I can delete it and continue to work, but when I go to edit that very same content again, it's back. What can I do to stop this? It's really annoying. :) Can I write somewhere in the code like if "< p>undefined<!-- break -->< /p>" display:none or something.
Comments
Comment #1
mkesicki commentedPlease try latest version 6.x-1.6 (released today - 2011-08-30). Can you check in Firebug console (Firefox add-on) if there are any errors ?
Remember to run update.php (drupal script) after upgrade. You can also clear drupal cache.
Comment #2
ChristianP commentedHmm.. Sorry, the newest version didn't solve the problem and I have no javascript errors as far as I can see. Everything else javascript related runs smooth as well on my site. Hmm..
I changed the javascript from ckeditor.js to ckeditor_basic.js and the red Break line disappeared, but the "undefined" text is still there.
I did an ugly solution until the bug get's fixed. I put out a javascript that say if p-tag contains "undefined", hide it. It doesn't hide it in the editor but it's better than printing it out on the page. Is there a way I can hide it this way inside the Ckeditor as well?
Comment #2.0
ChristianP commentedFixed some formatting issues