CKEditor is highly customizable and can be adjusted to your needs. In order to make your customization efforts easier, below you will find a summary of the contents of CKEditor installation package. This should help you minimize the number of files deployed to the production server in case you wanted to only use the bare minimum that can make CKEditor work. If needed, you can go through the list below and manually remove some of them according to your needs.
-
_samples
— this directory contains CKEditor samples. Using the sample files is the easiest way to verify whether your setup works properly. If CKEditor works correctly, you can safely remove the whole_ samples
folder. -
_source
— this directory contains CKEditor source code. It is needed only if you intend to use theckeditor_source.js
script and load CKEditor from source files. -
adapters
— this directory contains CKEditor adapters. It may be removed if you do not use any adapters, like the jQuery one. -
images
— this directory contains CKEditor graphics files. It is necessary for CKEditor to work. -
lang
— this directory contains CKEditor language files. It is necessary for CKEditor to work, although you can remove the unused language files if you force the CKEditor interface language using theCKEDITOR.config.language
property set in theconfig.js
file. -
plugins
— this directory contains the plugin files and is necessary for CKEditor to work. Due to the modular construction of the editor some core functionality was delegated to plugins. You can remove some unused plugins that are not packed inckeditor.js
(and thus listed in theckeditor.pack
file) and are only loaded on demand through the CKEDITOR.config.extraPlugins property. -
skins
— this directory contains CKEditor skin files along with toolbar buttons and stylesheet definitions and is necessary for CKEditor to work. You can however remove unused skins and their files. -
themes
— is necessary for CKEditor to work.
From the CKEditor root directory you can safely remove the following files:
-
CHANGES.html
- All
.asp
files (if you do not use ASP integration) - All
.php
files (if you do not use PHP integration) -
ckeditor.pack
-
ckeditor_basic.js
andckeditor_basic_source.js
files (if you do not use this method for loading CKEditor) -
ckeditor_source.js
(if you do not use this method for loading CKEditor) -
INSTALL.html