Skip to main content
Inspiring
December 11, 2008
Question

fckeditor custom config

  • December 11, 2008
  • 2 replies
  • 642 views
Is it possible to use a custom config with fckeditor thats built into cf8? I need to have the ability to have multiple configs for different applications. I need to do this like you did before they integrated it:

fckEditor.Config["CustomConfigurationsPath"] = "/mycustom/myconfig.js";
This topic has been closed for replies.

2 replies

Inspiring
December 11, 2008
Hi,

Then I must be wrong.. Sorry for my misunderstanding..

But if your intention is really meant for styling, then you can edit your "fckstyles.xml" by adding newer classes for various application running in your server..
rmorganAuthor
Inspiring
December 11, 2008
Mainly it will be toolbar differences, which is not so much a problem. But where it seems to be a problem is when I need to change tabs and dialog settings for image uploads and such. As it is, changing the options in /cfide/scripts/ajax/FCKeditor will not work for me as it will affect every instance that I am running. <cftextarea> would benefit greatly with an attribute called 'customconfig' so that you could do your own myconfig.js.
Inspiring
December 11, 2008
Hi,

What you are trying is correct, but you need add these too between your <script> blocks,


fckEditor.BasePath="your/path/to/fck_editor";
fckEditor.Config["CustomConfigurationsPath"] = "/mycustom/myconfig.js";
fckEditor.Create();

HTH
rmorganAuthor
Inspiring
December 11, 2008
Ok, but will this still use the editor that is packaged with cf8 or does your answer indicate me running a stand alone copy of fck? I just want to eliminate me having multiple copies of fck for each site that I need to use it I just want to use one copy globally.