Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
  • 한국 커뮤니티
0

fckeditor custom config

Explorer ,
May 18, 2010 May 18, 2010

Hello,

I was wondering, in CF8 for cftextarea(richtext) is there a way to have multiple myconfig.js files. Is there a some sort of variable I can use to put in the directive

FCKConfig.CustomConfigurationsPath = 'myconfig.js' ;

For instance. My application is running in /myforms/myapp/ and if I make FCKConfig.CustomConfigurationsPath = '/myforms/myapp/myconfig.js' it works but it will force all other instances of fckeditor to the same config file. What I would like is something along the lines of FCKConfig.CustomConfigurationsPath = MyAppPathVariable + 'myconfig.js' so that I can have multiple custom config files for separate instances of the editor.

This is the concept that I am going after, but obviously this will not work

FCKConfig.CustomConfigurationsPath = ExpandPath('.') + '/myconfig.js' ;

Is there a way to do this the way I have shown here, or some other way would suffice as well.

TIA

TOPICS
Advanced techniques
595
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Participant ,
May 18, 2010 May 18, 2010
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Explorer ,
May 19, 2010 May 19, 2010
LATEST

Thanks. I have tried that before, but in my frustration I may have missed something. I will go and try it again.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Resources