When I first create a node (via "Add Content > Basic Page") the Body field properly display the CKEditor toolbar. Once I add content to the field and click "Preview", the editor toolbar is missing and I am left with a plain text view of the content (as though I had clicked the "Switch to plain text editor"). If I remove the text from the field and click "Preview" again, the toolbar returns. The Summary field (when exposed) exhibits the same behavior.
Basically, the fields that should contain the CKEditor toolbars *do* show the toolbars if they are initially empty (and work as expected when they are available), but once you add content and preview (or save then try to edit), the toolbars are missing and I am left with the plain text view.
Comments
Comment #1
mkesicki commentedPlease check if your issue occurs with DEV version of CKEditor for drupal module.
Check in Firebug (Firefox add-on) console if you have any errors reported.
You can also check if any errors are reported in admin status report page.
What drupal theme do you use ?
Comment #2
butterwise commentedThanks for the prompt response. I haven't had a chance to check if the same issue occurs with the dev version, but will do so ASAP. Some more information as requested:
Firebug shows the following error: "POST http://{host}/ckeditor/xss 404 Not Found". This error occurs when switching b/w the plain text and rich text editors *if* there is content in a field which uses CKEditor (if the field is empty, I can switch editors without a problem), or when attempting to edit a node which has content in a field that uses CKEditor, or when clicking the "Preview" button *if* content has been added to a field that uses the CKEditor. Oddly, the admin status reports page show no similar errors.
The theme I am currently using when experiencing this issue is Bartik 7.15 - I haven't tried any other themes.
One other item to note is that this installation was via the YUM package; I don't know if that has any implications or not, though other installations that were not via YUM are not having the same problem.
Comment #3
dczepierga commented@butterwise, do u have mod_rewrite enabled? do u change something in htaccess?
This URL is defined in CKEditor module and should be initialized by Drupal... May be u have any special module for URL rewriting?
Greetings
Comment #4
butterwise commentedThis issue has been resolved; apparently there was an incorrect path in the Apache config that was causing the post to /ckeditor/xss to fail. When we commented out the incorrect path everything worked as intended. I believe it had to do with the YUM package and the fact the way it installed the CKEditor module.
Comment #5
dczepierga commentedGreat to hear that problem is resolved. Really thx for info.
I closed this issue.
Greetings