2013-05-05, 01:19:19
And to use a custom toolbar configured from config.js in all current versions of GS
you do
"custom" can be anything you choose
you do
PHP Code:
# WYSIWYG Editor Options
define('GSEDITOROPTIONS', 'toolbar:\'custom\'');
Code:
CKEDITOR.editorConfig = function( config )
{
// Define changes to default configuration here.
config.resize_dir = 'vertical' // vertical resize
config.toolbarCanCollapse = false; // hide toolbar collapse button
config.dialog_backgroundCoverColor = '#000000';
config.toolbar_custom =
[
['Bold', 'Italic', 'Underline']
];
};
"custom" can be anything you choose