Hi,
It seems that most of the configuration is controlled in fckconfig.js. I am using the FCKEditor in ASP.NET 2.0. I am proposing a C sharp class that would generate this file or embed directly any javascript configuration in the containing page. For example, i am really interested on defining what would go in the Toolbar without hard coding the Toolbar directly in that file.
Does anyone foresee any problems by doing so?
Thanks,
It seems that most of the configuration is controlled in fckconfig.js. I am using the FCKEditor in ASP.NET 2.0. I am proposing a C sharp class that would generate this file or embed directly any javascript configuration in the containing page. For example, i am really interested on defining what would go in the Toolbar without hard coding the Toolbar directly in that file.
Does anyone foresee any problems by doing so?
Thanks,
Re: Configuration
You can put all your settings in (one or more) custom setting files, and reference that when you load the editor:
$oFCKeditor->Config['CustomConfigurationsPath'] = "../richard_morgan_config.js" ; (for php)
That way you can create many different versions of the editor at different points in your site (i.e. quite a full one for creating pages, a very much stripped back one for letting people comment articles). All of these custom configuration files could very easily be generated on the fly, and would let you (with a bit of work) create very flexible toolbars - i.e. to have a custom configuration file for each user on your site that would be linked to their user id which they could configure themselves or something similar.