Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Hello There,
I got a little problem with my CKEditor inside Panels. I have CKEditor inside a Panels, and when I open it I get a ton of JS errors (skin.js and en.js both > errors) upon investing I determined that the CKEditor BASEPATH variable was not being set, after manually setting it in the CKEditor.js file (I added it to the very top) everything started working again.
So for some reason the ckeditor wysiwyg init function is not adding the variable.
Any idea as to whats up?
Comments
Comment #1
TwoDWysiwyg autimatically builds the init script and puts it in a local file in your public files folder, but I accidentally made Wysiwyg add it using an absolute URL, which made it impossible to aggregate or parse for translation when the server has set allow_url_fopen=0.
So when aggregation is enabled, the file and its init script won't be inculded.
This is already fixed in 7.x-2.x-dev and will be part of the next release, see #1802394: Warning: file_get_contents from 7.x-2.1 to 7.x-2.2.