Hey all
A little background, I like to setup input filters in an installation profile and try to configure the text editor as much as I can. This used to work, until I upgraded to the newest CK Editor module and Drupal 6.16.
Here's how to recreate the issue:
Fresh install of Drupal 6.16...
Add your own custom toolbar to config.ckeditor.js
Go to CK Editor, either click on Default or Advanced profile and change it to your custom toolbar you just added.
Add/edit content, you should see your custom toolbar.
Go back to CK Editor config, delete whatever profile you edited, and create a new one. Call it whatever, and tell it to use your toolbar (or any of them). Go edit content, bam, editor is gone. This must be something in the new version, because I can't get it to break at all in 6.x-1.0 / D 6.16.
Any ideas?
I was up until 4 AM trying to isolate the issue and I can't pinpoint it. No JS error on the page, nothing like that. Leads me to think something changed in the code regarding the profile it loads up. I was logged in as user 1, so no permission was getting in the way.
| Comment | File | Size | Author |
|---|---|---|---|
| #3 | ckeditor-742244.patch | 1001 bytes | mephir |
Comments
Comment #1
kevinquillen commentedForgot to mention, if I use the CK profiles that come installed by default (Default, Administrator) this all works as expected. But when I want to use my own, the whole thing vanishes until I delete my profile.
Comment #2
mephir commentedThanks for step by step instruction, i will fix this asap. I take it on a first place to do.
Comment #3
mephir commentedHere is small patch which should fixed your issue. The problem was setting up min_rows to high in new profile.
Comment #4
kevinquillen commentedThanks, that appears to work. I will have to try a full install and add my code back in and see if it works. Then I'll have a ready to go CK editor right out of Drupal install :D
Comment #5
mephir commentedSo, i will commit it to cvs.
Comment #6
mephir commentedChanges commited to CVS.
Comment #7
kevinquillen commentedOkay, that may have fixed it post-install, but I just tried a fresh install with our install profile and got the same result. The editor just isn't there unless I delete the custom CK Editor profile and start over. When I created a new profile and set the settings to what I want, that part now works (previously did not).
All I am doing is updating ck editor settings table with the global settings, and inserting my new profile into the ck editor settings table as a serialized string. It appears to make it in correctly, and the settings look right. However, nothing shows up when I go to a node add/edit.
Could this have to do with an internal drupal cache, some kind of difference between configuring something during install versus in an installed site?
Comment #8
kevinquillen commentedCould also be how I am trying to do this.
I do notice that its not selecting my toolbar by default.
Is there any easy way to configure CK Editor like this during install?
Comment #9
dczepierga commentedThis issue is inactive over half year, so i closed it.