CKEDITOR Basic Toolbar
- Single Page
Posted 31 October 2012 - 13:32 PM
Posted 31 October 2012 - 16:37 PM
/*
Copyright (c) 2003-2012, 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';
config.removePlugins = 'elementspath,enterkey,entities,forms,pastefromword,htmldataprocessor,specialchar,horizontalrule,wsc' ;
CKEDITOR.config.toolbar = [
['Styles','Format','Font','FontSize'],
'/',
['Bold','Italic','Underline','StrikeThrough','-','Undo','Redo','-','Cut','Copy','Paste','Find','Replace','-','Outdent','Indent','-','Print'],
'/',
['NumberedList','BulletedList','-','JustifyLeft','JustifyCenter','JustifyRight','JustifyBlock'],
['Image','Table','-','Link','Flash','Smiley','TextColor','BGColor','Source']
] ;
};
but nothing happens ... If uncommented the line [b]//config.uiColor = '# AADC6E';[/b] successfully change the color, but not so with the toolbar
Posted 31 October 2012 - 18:18 PM
Please, change the line
CKEDITOR.config.toolbar = [
into this
config.toolbar_Full = [
or
config.toolbar_Basic = [
Posted 31 October 2012 - 18:37 PM
CKEDITOR.editorConfig = function( config )
{
// Define changes to default configuration here. For example:
// config.language = 'fr';
//config.uiColor = '#AADC6E';
config.removePlugins = 'elementspath,enterkey,entities,forms,pastefromword,htmldataprocessor,specialchar,horizontalrule,wsc' ;
config.toolbar_Full = [
['Styles','Format','Font','FontSize'],
'/',
['Bold','Italic','Underline','StrikeThrough','-','Undo','Redo','-','Cut','Copy','Paste','Find','Replace','-','Outdent','Indent','-','Print'],
'/',
['NumberedList','BulletedList','-','JustifyLeft','JustifyCenter','JustifyRight','JustifyBlock'],
['Image','Table','-','Link','Flash','Smiley','TextColor','BGColor','Source']
] ;
};
Posted 31 October 2012 - 18:40 PM
Posted 14 May 2013 - 00:45 AM
thanks , both !