I'm just starting to use CKEditor having used FCK Editor in the past.
I'm having problems changing the configuration using Config.js
The contents of config.js are:-
/*
Copyright (c) 2003-2009, CKSource - Frederico Knabben. All rights reserved.
For licensing, see LICENSE.html or http://ckeditor.com/license
*/
CKEDITOR.editorConfig = function( config )
{
// Define changes to default configuration here. For example:
config.language = 'fr';
// config.uiColor = '#AADC6E';
};
This does not change the default language to french.
However, if I set
language : 'fr'
within the editor instance on the page then the default language becomes french.
I have tried changing other configuration values via config.js - with no success.
Can anybody advise me as to what I am doing wrong.
Many thanks
David
Sun, 08/30/2009 - 12:06
#1
Re: Config.js
i had the same problem that you're having.
make sure that when you're creating an instance of the editor, that you're pointing to the right config.js file, and also that you clear out your browser cache.
if you're using the javascript .replace method to insert the editor, look here:
http://docs.fckeditor.net/ckeditor_api/ ... l#.replace
clearing out all cache seemed to be what worked for me... after that, everything worked fine.
Re: Config.js
Frederico Knabben
CKEditor Project Lead and CKSource Owner
--
Follow us on: Twitter | Facebook | Google+ | LinkedIn
Re: Config.js
I should have thought of a cache problem - sometimes the obvious eludes one!!!
Thank you both very much.