In Chamilo 1.10 and later, we use CKeditor as a WYSIWYG (What You See Is What You Get) or “online” HTML editor. This was not the case with Chamilo 1.9, which still used the now-dead FCKeditor.
Sometimes, you might want to customize the editor for some particular item in Chamilo. This can be done, for existing custom element types, in the src/Chamilo/CoreBundle/Component/Editor/CkEditor/Toolbar/ directory.
There, you’ll find a series of files of the following form:
As you can probably appreciate, the structure is simply:
a class extending the “Basic” class for the editor
a getConfig() method to get some global configuration (like size of the area)
a getMaximizedToolbar() method that defines the options to be shown when maximized
a getNormalToolbar() method that defines the options to be shown when normal
a getMinimizedToolbar() method that defines the options to be shown when minimized
If you want to change one of the tools offered in the toolbars for a specific case, just change it here.
Note, however, that this customization is not part of the normally-accepted customizations, so you will have to keep it on record somewhere to be able to apply it again when the next version comes out.