It is recommended to install the CKEditor for Drupal module in the sites/all/modules
directory.
When adding the files for standalone CKEditor and CKFinder, you can use one of the following directories:
-
sites/all/modules/ckeditor/
-
sites/all/libraries/
and create a ckeditor
or ckfinder
directory inside.
libraries
directory is the default and recommended path when drush is used to download the editor JavaScript code. If you are using drush to upgrade CKEditor in the future, all the contents of the sites/all/modules/ckeditor/
directory will be wiped, including the files for standalone editor.The CKEditor module will automatically recognize the proper path to the editor and the file browser.
All installation and configuration instructions in this documentation assume that you use the first option and place the CKEditor and CKFinder files in the sites/all/modules/ckeditor/
directory. If you want to use the sites/all/libraries/
directory, you will need to adjust the paths given in the instructions accordingly.