[opencms-dev] adding FCKEditor setting without modifying system files?

Christian Steinert christian_steinert at web.de
Sun Nov 8 19:46:43 CET 2009


Dear all,

The behavior of the FCKEditor can be controlled with the javascript file 
/system/workplace/editors/fckeditor/customconfig.js and in this file, 
standard settings that are supported by the editor can be made.

However, does anybody know a way to make these settings in a way that 
will not break with each upgrade? The file costomconfig.js is part of 
the opencms default and therefore will be overwritten whenever an 
installation is updated.

Does anybody way how one can without modification of system files
*  include javascript code into the editor or
*  - even better - a way passing editor options directly to FCKEditor.


---------------

Basically, I am interested to adjust the text direction (which can be 
passed on to FCKEditor with FCKConfig.ContentLangDirection = ...) 
depending on the language that is used.

Thanks and regards
Christian



More information about the opencms-dev mailing list