Well i am using VS2010 to integrate CKeditor in MVC 3. I am successively able to integrate it but I am facing issue with customize toolbar. I have config.js under Scripts/ckeditor folder. I have create a copy of config.js and placed it under the root directory(i.e testmvc) and renamed it to "myconfig.js". Now my config.js looks like this :
CKEDITOR.editorConfig = function (config) {
// Define changes to default configuration here. For example:
// config.language = 'fr';
// config.uiColor = '#AADC6E';
CKEDITOR.replace('editor1',
{
customConfig : 'testmvc1/myconfig.js'} );
};
and my "myconfig.js" looks like this:
CKEDITOR.editorConfig = function( config )
{ // Define changes to default configuration here. For example:
// config.language = 'fr';
// config.uiColor = '#AADC6E';
config.toolbar = 'Full';
config.toolbar_Full =
[
{ name: 'document', items: ['Source', '-', 'Save', 'NewPage', 'DocProps', 'Preview', 'Print', '-', 'Templates'] }, ];
};
Now i want that default config.js should redirect it to my custom "myconfig.js" so that i can use my customized toolbar, but the replace command is not working. It is throwing me an error when i launch the website. Please suggest me something because i tried everything on the net