Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
CKEditor: how to define custom configuration file?
#1
I want to create a custom file, which will not be overwritten by updates.
The standard configuration file is per default admin/template/js/ckeditor/config.js

CKEDITOR.config.customConfig defines the URL Path to the config-file, which is per default '<CKEditor folder>/config.js'

see here: http://docs.cksource.com/ckeditor_api/sy...stomConfig

I tried to set in gsconfig.php:
Code:
# WYSIWYG Editor Options
define('GSEDITOROPTIONS', "
  enterMode: CKEDITOR.ENTER_P,
customConfig : 'admin/template/js/my.js'  
");

or
Code:
# WYSIWYG Editor Options
define('GSEDITOROPTIONS', "
  enterMode: CKEDITOR.ENTER_P,
customConfig : '/my.js'  
");

or

Code:
# WYSIWYG Editor Options
define('GSEDITOROPTIONS', "
  enterMode: CKEDITOR.ENTER_P,
customConfig : /my.js'  
");

it all does not work. So I see only the chance to edit config.js which comes with getsimple, but I would like to have another, customdefined configuration
|--

Das deutschsprachige GetSimple-(Unter-)Forum:   http://get-simple.info/forums/forumdisplay.php?fid=18
Reply


Messages In This Thread
CKEditor: how to define custom configuration file? - by Connie - 2011-03-30, 17:34:37



Users browsing this thread: 1 Guest(s)