4 Replies Latest reply on Dec 11, 2008 11:01 AM by rmorgan

    fckeditor custom config

    rmorgan Level 1
      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";
        • 1. Re: fckeditor custom config
          Daverms Level 3
          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
          • 2. Re: fckeditor custom config
            rmorgan Level 1
            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.
            • 3. Re: fckeditor custom config
              Daverms Level 3
              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..
              • 4. fckeditor custom config
                rmorgan Level 1
                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.