(Template contents added) |
|||
Line 5: | Line 5: | ||
* <code>sites/all/libraries/</code> | * <code>sites/all/libraries/</code> | ||
and create a <code>ckeditor</code> or <code>ckfinder</code> directory inside. | and create a <code>ckeditor</code> or <code>ckfinder</code> directory inside. | ||
+ | |||
+ | <note>The <code>libraries</code> directory is the default and recommended path when <strong>drush</strong> is used to download the editor JavaScript code. If you are using drush to upgrade CKEditor in the future, all the contents of the <code>sites/all/modules/ckeditor/</code> directory will be wiped, including the files for standalone editor.</note> | ||
The CKEditor module will automatically recognize the proper path to the editor and the file browser. | 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 <code>sites/all/modules/ckeditor/</code> directory. If you want to use the <code>sites/all/libraries/</code> directory, you will need to adjust the paths given in the instructions accordingly. | All installation and configuration instructions in this documentation assume that you use the first option and place the CKEditor and CKFinder files in the <code>sites/all/modules/ckeditor/</code> directory. If you want to use the <code>sites/all/libraries/</code> directory, you will need to adjust the paths given in the instructions accordingly. |
Latest revision as of 14:23, 16 April 2013
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.