Hello, I read that you can remove the config.js request by setting customconfig = ''
That's great but I want to include the config options in another request either ckeditor.js or my base js file that fires up the editor, but I can't seem to get that to work. Can someone please provide an example on how to do that?
Here's my config file, how do I include that in ckeditor.js or my replace javascript code...
Thanks!
That's great but I want to include the config options in another request either ckeditor.js or my base js file that fires up the editor, but I can't seem to get that to work. Can someone please provide an example on how to do that?
Here's my config file, how do I include that in ckeditor.js or my replace javascript code...
CKEDITOR.editorConfig = function( config )
{
// Default configuration here.
config.extraPlugins = 'ajaxsave';
config.removePlugins = 'elementspath,resize,scayt,menubutton,contextmenu'; // These 3 are required to disable the Right Click (cut,paste,copy): config.removePlugins = 'scayt,menubutton,contextmenu';
config.resize_enabled = false;
config.toolbarCanCollapse = false;
config.tabSpaces = 4;
config.language = 'en';
config.keystrokes =
[
[ CKEDITOR.ALT + 121 /*F10*/, 'toolbarFocus' ],
[ CKEDITOR.ALT + 122 /*F11*/, 'elementsPathFocus' ],
[ CKEDITOR.SHIFT + 121 /*F10*/, 'contextMenu' ],
[ CKEDITOR.CTRL + 90 /*Z*/, 'undo' ],
[ CKEDITOR.CTRL + 89 /*Y*/, 'redo' ],
[ CKEDITOR.CTRL + CKEDITOR.SHIFT + 90 /*Z*/, 'redo' ],
[ CKEDITOR.CTRL + 66 /*B*/, 'bold' ],
[ CKEDITOR.CTRL + 73 /*I*/, 'italic' ],
[ CKEDITOR.CTRL + 85 /*U*/, 'underline' ],
[ CKEDITOR.ALT + 109 /*-*/, 'toolbarCollapse' ],
[ CKEDITOR.CTRL + 83 /*S*/, 'ajaxsave' ]
];
};Thanks!

Re: Eliminating the config.js request by...
Re: Eliminating the config.js request by...