<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
		<id>https://docs-old.ckeditor.com/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Mkesicki</id>
		<title>CKSource Docs - User contributions [en]</title>
		<link rel="self" type="application/atom+xml" href="https://docs-old.ckeditor.com/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Mkesicki"/>
		<link rel="alternate" type="text/html" href="https://docs-old.ckeditor.com/Special:Contributions/Mkesicki"/>
		<updated>2026-05-16T17:51:03Z</updated>
		<subtitle>User contributions</subtitle>
		<generator>MediaWiki 1.29.1</generator>

	<entry>
		<id>https://docs-old.ckeditor.com/index.php?title=Template:Drupal_Troubleshooting&amp;diff=7176</id>
		<title>Template:Drupal Troubleshooting</title>
		<link rel="alternate" type="text/html" href="https://docs-old.ckeditor.com/index.php?title=Template:Drupal_Troubleshooting&amp;diff=7176"/>
				<updated>2012-07-26T10:31:30Z</updated>
		
		<summary type="html">&lt;p&gt;Mkesicki: /* CKEditor does not work in my theme */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;The following article describes some known issues that you might encounter when installing and using the CKEditor for Drupal module.&lt;br /&gt;
&lt;br /&gt;
== CKEditor does not work in my theme ==&lt;br /&gt;
Your theme may be missing the following code:&lt;br /&gt;
&amp;lt;source lang=&amp;quot;php&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;?php print $scripts; ?&amp;gt;&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
Add that line of code to the head section of your theme.&lt;br /&gt;
&lt;br /&gt;
Another possibility is that the following code might be missing in your theme:&lt;br /&gt;
&amp;lt;source lang=&amp;quot;php&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;?php print $page_bottom; ?&amp;gt;&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
The solution is the same as above &amp;amp;mdash; you need to add that line to your theme at the end of its code.&lt;br /&gt;
&lt;br /&gt;
Finally, you can also try to switch to a different theme.&lt;br /&gt;
&lt;br /&gt;
== Images are not displayed after the content is submitted ==&lt;br /&gt;
Most probably you need to properly configure the input format. Either set it to '''Full HTML''' or add the &amp;lt;code&amp;gt;&amp;amp;lt;img&amp;amp;gt;&amp;lt;/code&amp;gt; tag to the '''Filtered HTML''' format.&lt;br /&gt;
&lt;br /&gt;
{{#ifeq: {{{version}}} | 6 |If you want to extend the list of allowed HTML tags, go to the '''Administration Panel''' &amp;gt; '''Site configuration''' &amp;gt; '''Input formats''' and click the '''configure''' link next to the chosen input format. Open the '''Configure''' tab and add the &amp;lt;code&amp;gt;&amp;amp;lt;img&amp;amp;gt;&amp;lt;/code&amp;gt; tag to the '''Allowed HTML tags''' field of the '''HTML Filter''' section. |If you want to extend the list of allowed HTML tags, go to the '''Administration Panel''' &amp;gt; '''Configuration''' &amp;gt; '''Content Authoring''' &amp;gt; '''Text formats''' and click the '''configure''' link next to the chosen input format. Open the '''Limit allowed HTML Tags''' tab  in the '''Filter settings''' section and add the &amp;lt;code&amp;gt;&amp;amp;lt;img&amp;amp;gt;&amp;lt;/code&amp;gt; tag to the '''Allowed HTML tags''' field.}}&lt;br /&gt;
&lt;br /&gt;
{{#ifeq: {{{version}}} | 6 |== Selected toolbar does not show for User 1 ==&lt;br /&gt;
There are two reasons why you are seeing a different toolbar (or do not see CKEditor at all):&lt;br /&gt;
* If the '''Allow users to customize CKEditor appearance''' option is enabled, each user may override the profile settings in the '''Rich text editor settings''' section of the &amp;lt;code&amp;gt;admin/user/N/edit&amp;lt;/code&amp;gt; page ('''My Account''' &amp;gt; '''Edit''').&lt;br /&gt;
* A different profile is used for User 1 than you expect.&lt;br /&gt;
*; User 1 must be assigned a system role that corresponds to the privileges required. If no role is assigned to User 1, this user will have the privileges of an &amp;quot;authenticated user&amp;quot; (usually it is the '''Advanced''' profile).| }}&lt;br /&gt;
&lt;br /&gt;
== The CKEditor module is not installed correctly ==&lt;br /&gt;
If your CKEditor does not show, you should check whether all files were extracted correctly. The &amp;lt;code&amp;gt;/sites/all/modules/ckeditor/ckeditor/&amp;lt;/code&amp;gt; directory should contain the following files: &amp;lt;code&amp;gt;ckeditor.js&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;config.js&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;contents.css&amp;lt;/code&amp;gt; as well as directories named &amp;lt;code&amp;gt;images&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;lang&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;plugins&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;skins&amp;lt;/code&amp;gt;, and &amp;lt;code&amp;gt;themes&amp;lt;/code&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
The correct directory structure is as follows:&lt;br /&gt;
&amp;lt;source&amp;gt;&lt;br /&gt;
modules               &amp;lt;dir&amp;gt;&lt;br /&gt;
   ckeditor           &amp;lt;dir&amp;gt;&lt;br /&gt;
      ckeditor.css&lt;br /&gt;
      ckeditor.info&lt;br /&gt;
      ...&lt;br /&gt;
      ckeditor        &amp;lt;dir&amp;gt;&lt;br /&gt;
         _source      &amp;lt;dir&amp;gt;&lt;br /&gt;
         images       &amp;lt;dir&amp;gt;&lt;br /&gt;
         lang         &amp;lt;dir&amp;gt;&lt;br /&gt;
         plugins      &amp;lt;dir&amp;gt;&lt;br /&gt;
         skins        &amp;lt;dir&amp;gt;&lt;br /&gt;
         themes       &amp;lt;dir&amp;gt;&lt;br /&gt;
         ckeditor.js&lt;br /&gt;
         ...&lt;br /&gt;
   ...&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== CKEditor does not work after upgrading ==&lt;br /&gt;
This may be caused by the browser cache. Clear your browser cache and restart the browser if clearing the cache did not help.&lt;br /&gt;
&lt;br /&gt;
If you upgraded the CKEditor module, make sure that all roles with &amp;quot;access ckeditor&amp;quot; permissions are assigned to at least one CKEditor profile.&lt;br /&gt;
&lt;br /&gt;
== Text alignment does not work ==&lt;br /&gt;
In the &amp;lt;code&amp;gt;ckeditor.config.js&amp;lt;/code&amp;gt; file (located in the CKEditor module directory), the following classes are defined to provide the text alignment functionality:&lt;br /&gt;
&amp;lt;source lang=&amp;quot;javascript&amp;quot;&amp;gt;&lt;br /&gt;
config.justifyClasses = [ 'rteleft', 'rtecenter', 'rteright', 'rtejustify' ];&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Unfortunately, some themes may override these styles and text alignment may not work as expected.&lt;br /&gt;
&lt;br /&gt;
If you are using the '''Full HTML''' input format, you may simply comment out this line:&lt;br /&gt;
&amp;lt;source lang=&amp;quot;javascript&amp;quot;&amp;gt;&lt;br /&gt;
//config.justifyClasses = [ 'rteleft', 'rtecenter', 'rteright', 'rtejustify' ];&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
CKEditor will then use inline styles instead:&lt;br /&gt;
&amp;lt;source lang=&amp;quot;html4strict&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;p style=&amp;quot;text-align: right;&amp;quot;&amp;gt;sample text&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The problem is that inline styles may only be used with the '''Full HTML''' format. '''Filtered HTML''' will strip that code, so do not use this solution with this input format.&lt;br /&gt;
&lt;br /&gt;
For '''Filtered HTML''' things are a bit more complicated. For example if your theme defines such CSS style as:&lt;br /&gt;
&amp;lt;source lang=&amp;quot;css&amp;quot;&amp;gt;&lt;br /&gt;
.content p { text-align: left; }&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
the &amp;lt;code&amp;gt;text-align&amp;lt;/code&amp;gt; property set in the &amp;lt;code&amp;gt;.rteright&amp;lt;/code&amp;gt; class will not work.&lt;br /&gt;
&lt;br /&gt;
To align the &amp;lt;code&amp;gt;&amp;amp;lt;p&amp;amp;gt;&amp;lt;/code&amp;gt; tag, you will have to edit the &amp;lt;code&amp;gt;/sites/all/modules/ckeditor/ckeditor.css&amp;lt;/code&amp;gt; file and create a style that will be applied to the &amp;lt;code&amp;gt;&amp;amp;lt;p&amp;amp;gt;&amp;lt;/code&amp;gt; tag:&lt;br /&gt;
&amp;lt;source lang=&amp;quot;css&amp;quot;&amp;gt;&lt;br /&gt;
.content p.rteleft {&lt;br /&gt;
  text-align: left;&lt;br /&gt;
}&lt;br /&gt;
.content p.rteright {&lt;br /&gt;
  text-align: right;&lt;br /&gt;
}&lt;br /&gt;
.content p.rtecenter {&lt;br /&gt;
  text-align: center;&lt;br /&gt;
}&lt;br /&gt;
.content p.rtejustify {&lt;br /&gt;
  text-align: justify;&lt;br /&gt;
}&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Use DOM inspector (in Firefox) to check why the alignment does not work and correct your CSS styles. There is no universal workaround for this situation.&lt;br /&gt;
&lt;br /&gt;
== Line breaks removed when editing content previously authored without using CKEditor ==&lt;br /&gt;
The problem lies in the way you configured your input filters. Before you enabled CKEditor, you probably had the Line break converter enabled. Now you are trying to edit the same content with the Line break converter disabled, thus the line breaks are removed.&lt;br /&gt;
&lt;br /&gt;
Possible workarounds:&lt;br /&gt;
* Enable the Line break converter (not recommended).&lt;br /&gt;
* Create a new input format with the Line break converter enabled. Use it just for old articles (recommended).&lt;br /&gt;
* Start with CKEditor disabled by default, replace all new line characters manually with a &amp;lt;code&amp;gt;&amp;amp;lt;br /&amp;amp;gt;&amp;lt;/code&amp;gt; tag, then use toggle to switch to WYSIWYG mode.&lt;br /&gt;
&lt;br /&gt;
== Quote symbols are being changed to quote entities ==&lt;br /&gt;
Some modules like Typogrify or SmartyPants require special handling of HTML entities. For example, by default CKEditor will convert a double quote character (&amp;lt;code&amp;gt;&amp;quot;&amp;lt;/code&amp;gt;) to &amp;lt;code&amp;gt;&amp;amp;amp;quot;&amp;lt;/code&amp;gt;. To disable processing of HTML entities, open the CKEditor profile settings and go to the '''Advanced Options''' section. If you set the '''HTML Entities''' option to '''No''', CKEditor will no longer convert all applicable characters to HTML entities.&lt;/div&gt;</summary>
		<author><name>Mkesicki</name></author>	</entry>

	<entry>
		<id>https://docs-old.ckeditor.com/index.php?title=CKEditor_3.x/Developers_Guide/Toolbar&amp;diff=6375</id>
		<title>CKEditor 3.x/Developers Guide/Toolbar</title>
		<link rel="alternate" type="text/html" href="https://docs-old.ckeditor.com/index.php?title=CKEditor_3.x/Developers_Guide/Toolbar&amp;diff=6375"/>
				<updated>2011-06-14T07:34:58Z</updated>
		
		<summary type="html">&lt;p&gt;Mkesicki: /* Toolbar Definition */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{#CUSTOMTITLE:CKEditor Toolbar}} &lt;br /&gt;
While CKEditor is a full-featured WYSIWYG editor, not all of its options may be needed in all cases. Because of this, toolbar customization is one of the most common and required tasks when dealing with CKEditor. &lt;br /&gt;
&lt;br /&gt;
== Toolbar Definition  ==&lt;br /&gt;
A toolbar definition is a JavaScript array that contains the elements to be displayed in all '''toolbar rows''' available in the editor.&lt;br /&gt;
&lt;br /&gt;
The toolbar configuration can be defined in CKEditor using one of the following methods:&lt;br /&gt;
* The &amp;lt;code&amp;gt;[http://docs.cksource.com/ckeditor_api/symbols/CKEDITOR.config.html#.toolbar toolbar]&amp;lt;/code&amp;gt; setting.&lt;br /&gt;
* The &amp;lt;code&amp;gt;toolbar_''name''&amp;lt;/code&amp;gt; setting, where the &amp;lt;code&amp;gt;''name''&amp;lt;/code&amp;gt; element is the name used to identify the toolbar in the &amp;lt;code&amp;gt;toolbar&amp;lt;/code&amp;gt; setting.&lt;br /&gt;
&lt;br /&gt;
The following code snippet contains the default CKEditor toolbar setting. &lt;br /&gt;
&amp;lt;source language=&amp;quot;js&amp;quot;&amp;gt;&lt;br /&gt;
config.toolbar = 'Full';&lt;br /&gt;
&lt;br /&gt;
config.toolbar_Full =&lt;br /&gt;
[&lt;br /&gt;
	{ name: 'document', items : [ 'Source','-','Save','NewPage','DocProps','Preview','Print','-','Templates' ] },&lt;br /&gt;
	{ name: 'clipboard', items : [ 'Cut','Copy','Paste','PasteText','PasteFromWord','-','Undo','Redo' ] },&lt;br /&gt;
	{ name: 'editing', items : [ 'Find','Replace','-','SelectAll','-','SpellChecker', 'Scayt' ] },&lt;br /&gt;
	{ name: 'forms', items : [ 'Form', 'Checkbox', 'Radio', 'TextField', 'Textarea', 'Select', 'Button', 'ImageButton', &lt;br /&gt;
&lt;br /&gt;
         'HiddenField' ] },&lt;br /&gt;
	'/',&lt;br /&gt;
	{ name: 'basicstyles', items : [ 'Bold','Italic','Underline','Strike','Subscript','Superscript','-','RemoveFormat' ] },&lt;br /&gt;
	{ name: 'paragraph', items : [ 'NumberedList','BulletedList','-','Outdent','Indent','-','Blockquote','CreateDiv','-&lt;br /&gt;
&lt;br /&gt;
        ','JustifyLeft','JustifyCenter','JustifyRight','JustifyBlock','-','BidiLtr','BidiRtl' ] },&lt;br /&gt;
	{ name: 'links', items : [ 'Link','Unlink','Anchor' ] },&lt;br /&gt;
	{ name: 'insert', items : [ 'Image','Flash','Table','HorizontalRule','Smiley','SpecialChar','PageBreak','Iframe' ] },&lt;br /&gt;
	'/',&lt;br /&gt;
	{ name: 'styles', items : [ 'Styles','Format','Font','FontSize' ] },&lt;br /&gt;
	{ name: 'colors', items : [ 'TextColor','BGColor' ] },&lt;br /&gt;
	{ name: 'tools', items : [ 'Maximize', 'ShowBlocks','-','About' ] }&lt;br /&gt;
];&lt;br /&gt;
&lt;br /&gt;
config.toolbar_Basic =&lt;br /&gt;
[&lt;br /&gt;
	['Bold', 'Italic', '-', 'NumberedList', 'BulletedList', '-', 'Link', 'Unlink','-','About']&lt;br /&gt;
];&lt;br /&gt;
&amp;lt;/source&amp;gt; &lt;br /&gt;
Note that in the code above (just like in the default CKEditor configuration) two toolbar definitions have been defined. The first one is named '''Full''' and the second one is '''Basic'''. The toolbar was set to use the '''Full''' definition.&lt;br /&gt;
&lt;br /&gt;
=== Toolbar Button Groups ===&lt;br /&gt;
Every toolbar definition is composed of a series of '''toolbar button groups'''. Each toolbar group has a label (name) and the listing of buttons that belong to the group, placed in square brackets (&amp;lt;code&amp;gt;[ ]&amp;lt;/code&amp;gt;). The toolbar group items move together to new rows when the editor is resized.&lt;br /&gt;
&lt;br /&gt;
The group label will be used by assisstive devices such as screen readers. It is added in the &amp;lt;code&amp;gt;name&amp;lt;/code&amp;gt; attribute and is first looked up in the CKEditor language file (under the &amp;lt;code&amp;gt;editor.lang.toolbarGroups.''group_name''&amp;lt;/code&amp;gt; entry). When its definition is found, the text value of this entry is used. If the &amp;lt;code&amp;gt;name&amp;lt;/code&amp;gt; attribute value does not appear in the language file, it is taken as a literal toolbar group label and read aloud.&lt;br /&gt;
&lt;br /&gt;
As visible in the code above, each toolbar button group is defined as a separate JavaScript array of strings. Every string stands for a single toolbar item to be used. Toolbar items are defined by plugins. &lt;br /&gt;
&lt;br /&gt;
You can also include a separator in the toolbar group by including a dash (&amp;lt;code&amp;gt;&amp;quot;-&amp;quot;&amp;lt;/code&amp;gt;) character in it.&lt;br /&gt;
&lt;br /&gt;
=== Forcing Row Break ===&lt;br /&gt;
The '''Full''' definition contains numerous slash (&amp;lt;code&amp;gt;&amp;quot;/&amp;quot;&amp;lt;/code&amp;gt;) characters that were placed between toolbar button groups. They can be used to force a break at the point where they were placed, rendering the next toolbar group in a new row. This placement will not be changed when CKEditor is resized.&lt;br /&gt;
&lt;br /&gt;
== Toolbar Customization ==&lt;br /&gt;
A simple way to configure the toolbars of all CKEditor instances is to add a custom toolbar definition inside the &amp;lt;code&amp;gt;config.js&amp;lt;/code&amp;gt; file, or even better &amp;amp;mdash; in a separate custom configuration file (see [[CKEditor 3.x/Developers Guide/Setting Configurations|Setting Configuration]]). The easiest way to do that is to copy the default '''Full''' toolbar definition, and strip it down to your needs.&lt;br /&gt;
&lt;br /&gt;
For example, the following is a good recommended toolbar definition that can be placed in the &amp;lt;code&amp;gt;config.js&amp;lt;/code&amp;gt; file: &lt;br /&gt;
&amp;lt;source language=&amp;quot;javascript&amp;quot;&amp;gt;&lt;br /&gt;
CKEDITOR.editorConfig = function( config )&lt;br /&gt;
{&lt;br /&gt;
	config.toolbar = 'MyToolbar';&lt;br /&gt;
&lt;br /&gt;
	config.toolbar_MyToolbar =&lt;br /&gt;
	[&lt;br /&gt;
		{ name: 'document', items : [ 'NewPage','Preview' ] },&lt;br /&gt;
		{ name: 'clipboard', items : [ 'Cut','Copy','Paste','PasteText','PasteFromWord','-','Undo','Redo' ] },&lt;br /&gt;
		{ name: 'editing', items : [ 'Find','Replace','-','SelectAll','-','Scayt' ] },&lt;br /&gt;
		{ name: 'insert', items : [ 'Image','Flash','Table','HorizontalRule','Smiley','SpecialChar','PageBreak'&lt;br /&gt;
                 ,'Iframe' ] },&lt;br /&gt;
                '/',&lt;br /&gt;
		{ name: 'styles', items : [ 'Styles','Format' ] },&lt;br /&gt;
		{ name: 'basicstyles', items : [ 'Bold','Italic','Strike','-','RemoveFormat' ] },&lt;br /&gt;
		{ name: 'paragraph', items : [ 'NumberedList','BulletedList','-','Outdent','Indent','-','Blockquote' ] },&lt;br /&gt;
		{ name: 'links', items : [ 'Link','Unlink','Anchor' ] },&lt;br /&gt;
		{ name: 'tools', items : [ 'Maximize','-','About' ] }&lt;br /&gt;
	];&lt;br /&gt;
};&lt;br /&gt;
&amp;lt;/source&amp;gt; &lt;br /&gt;
Inside the configuration file you can create as many toolbar definitions as you need. Later, based on some criteria, you can choose the toolbar to use for each CKEditor instance. Each toolbar definition can be used as many times as required (or not used at all, for that matter). For example, with the following code, two editors are created on the page and each one is using a different toolbar: &lt;br /&gt;
&amp;lt;source language=&amp;quot;javascript&amp;quot;&amp;gt;&lt;br /&gt;
CKEDITOR.replace( 'editor1',&lt;br /&gt;
	{&lt;br /&gt;
		toolbar : 'MyToolbar'&lt;br /&gt;
	});&lt;br /&gt;
&lt;br /&gt;
CKEDITOR.replace( 'editor2',&lt;br /&gt;
	{&lt;br /&gt;
		toolbar : 'Basic'&lt;br /&gt;
	});&lt;br /&gt;
&amp;lt;/source&amp;gt; &lt;br /&gt;
It is also possible to set the toolbar definition in-page, at the same time when you create an editor instance. If this is the case, assign the toolbar setting directly to the editor instance, like in the example below: &lt;br /&gt;
&amp;lt;source language=&amp;quot;javascript&amp;quot;&amp;gt;&lt;br /&gt;
CKEDITOR.replace( 'editor1',&lt;br /&gt;
	{&lt;br /&gt;
		toolbar :&lt;br /&gt;
		[&lt;br /&gt;
			{ name: 'basicstyles', items : [ 'Bold','Italic' ] },&lt;br /&gt;
			{ name: 'paragraph', items : [ 'NumberedList','BulletedList' ] },&lt;br /&gt;
			{ name: 'tools', items : [ 'Maximize','-','About' ] }&lt;br /&gt;
		]&lt;br /&gt;
	});&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;note&amp;gt;Please note that the toolbar definition was changed in '''CKEditor 3.6''', when a concept of toolbar button groups was introduced. This feature is WAI-ARIA compliant and important for accessibility support, so we recommend to upgrade custom definitions created for previous versions and follow the new standard described above.&amp;lt;/note&amp;gt;&lt;/div&gt;</summary>
		<author><name>Mkesicki</name></author>	</entry>

	<entry>
		<id>https://docs-old.ckeditor.com/index.php?title=CKEditor_3.x/Developers_Guide/Toolbar&amp;diff=6374</id>
		<title>CKEditor 3.x/Developers Guide/Toolbar</title>
		<link rel="alternate" type="text/html" href="https://docs-old.ckeditor.com/index.php?title=CKEditor_3.x/Developers_Guide/Toolbar&amp;diff=6374"/>
				<updated>2011-06-14T07:34:02Z</updated>
		
		<summary type="html">&lt;p&gt;Mkesicki: /* Toolbar Definition */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{#CUSTOMTITLE:CKEditor Toolbar}} &lt;br /&gt;
While CKEditor is a full-featured WYSIWYG editor, not all of its options may be needed in all cases. Because of this, toolbar customization is one of the most common and required tasks when dealing with CKEditor. &lt;br /&gt;
&lt;br /&gt;
== Toolbar Definition  ==&lt;br /&gt;
A toolbar definition is a JavaScript array that contains the elements to be displayed in all '''toolbar rows''' available in the editor.&lt;br /&gt;
&lt;br /&gt;
The toolbar configuration can be defined in CKEditor using one of the following methods:&lt;br /&gt;
* The &amp;lt;code&amp;gt;[http://docs.cksource.com/ckeditor_api/symbols/CKEDITOR.config.html#.toolbar toolbar]&amp;lt;/code&amp;gt; setting.&lt;br /&gt;
* The &amp;lt;code&amp;gt;toolbar_''name''&amp;lt;/code&amp;gt; setting, where the &amp;lt;code&amp;gt;''name''&amp;lt;/code&amp;gt; element is the name used to identify the toolbar in the &amp;lt;code&amp;gt;toolbar&amp;lt;/code&amp;gt; setting.&lt;br /&gt;
&lt;br /&gt;
The following code snippet contains the default CKEditor toolbar setting. &lt;br /&gt;
&amp;lt;source language=&amp;quot;js&amp;quot;&amp;gt;&lt;br /&gt;
config.toolbar = 'Full';&lt;br /&gt;
&lt;br /&gt;
config.toolbar_Full =&lt;br /&gt;
[&lt;br /&gt;
	{ name: 'document', items : [ 'Source','-','Save','NewPage','DocProps','Preview','Print','-','Templates' ] },&lt;br /&gt;
	{ name: 'clipboard', items : [ 'Cut','Copy','Paste','PasteText','PasteFromWord','-','Undo','Redo' ] },&lt;br /&gt;
	{ name: 'editing', items : [ 'Find','Replace','-','SelectAll','-','SpellChecker', 'Scayt' ] },&lt;br /&gt;
	{ name: 'forms', items : [ 'Form', 'Checkbox', 'Radio', 'TextField', 'Textarea', 'Select', 'Button', 'ImageButton', &lt;br /&gt;
&lt;br /&gt;
          'HiddenField' ] },&lt;br /&gt;
	'/',&lt;br /&gt;
	{ name: 'basicstyles', items : [ 'Bold','Italic','Underline','Strike','Subscript','Superscript','-','RemoveFormat' ] },&lt;br /&gt;
	{ name: 'paragraph', items : [ 'NumberedList','BulletedList','-','Outdent','Indent','-','Blockquote','CreateDiv','-&lt;br /&gt;
&lt;br /&gt;
        ','JustifyLeft','JustifyCenter','JustifyRight','JustifyBlock','-','BidiLtr','BidiRtl' ] },&lt;br /&gt;
	{ name: 'links', items : [ 'Link','Unlink','Anchor' ] },&lt;br /&gt;
	{ name: 'insert', items : [ 'Image','Flash','Table','HorizontalRule','Smiley','SpecialChar','PageBreak','Iframe' ] },&lt;br /&gt;
	'/',&lt;br /&gt;
	{ name: 'styles', items : [ 'Styles','Format','Font','FontSize' ] },&lt;br /&gt;
	{ name: 'colors', items : [ 'TextColor','BGColor' ] },&lt;br /&gt;
	{ name: 'tools', items : [ 'Maximize', 'ShowBlocks','-','About' ] }&lt;br /&gt;
];&lt;br /&gt;
&lt;br /&gt;
config.toolbar_Basic =&lt;br /&gt;
[&lt;br /&gt;
	['Bold', 'Italic', '-', 'NumberedList', 'BulletedList', '-', 'Link', 'Unlink','-','About']&lt;br /&gt;
];&lt;br /&gt;
&amp;lt;/source&amp;gt; &lt;br /&gt;
Note that in the code above (just like in the default CKEditor configuration) two toolbar definitions have been defined. The first one is named '''Full''' and the second one is '''Basic'''. The toolbar was set to use the '''Full''' definition.&lt;br /&gt;
&lt;br /&gt;
=== Toolbar Button Groups ===&lt;br /&gt;
Every toolbar definition is composed of a series of '''toolbar button groups'''. Each toolbar group has a label (name) and the listing of buttons that belong to the group, placed in square brackets (&amp;lt;code&amp;gt;[ ]&amp;lt;/code&amp;gt;). The toolbar group items move together to new rows when the editor is resized.&lt;br /&gt;
&lt;br /&gt;
The group label will be used by assisstive devices such as screen readers. It is added in the &amp;lt;code&amp;gt;name&amp;lt;/code&amp;gt; attribute and is first looked up in the CKEditor language file (under the &amp;lt;code&amp;gt;editor.lang.toolbarGroups.''group_name''&amp;lt;/code&amp;gt; entry). When its definition is found, the text value of this entry is used. If the &amp;lt;code&amp;gt;name&amp;lt;/code&amp;gt; attribute value does not appear in the language file, it is taken as a literal toolbar group label and read aloud.&lt;br /&gt;
&lt;br /&gt;
As visible in the code above, each toolbar button group is defined as a separate JavaScript array of strings. Every string stands for a single toolbar item to be used. Toolbar items are defined by plugins. &lt;br /&gt;
&lt;br /&gt;
You can also include a separator in the toolbar group by including a dash (&amp;lt;code&amp;gt;&amp;quot;-&amp;quot;&amp;lt;/code&amp;gt;) character in it.&lt;br /&gt;
&lt;br /&gt;
=== Forcing Row Break ===&lt;br /&gt;
The '''Full''' definition contains numerous slash (&amp;lt;code&amp;gt;&amp;quot;/&amp;quot;&amp;lt;/code&amp;gt;) characters that were placed between toolbar button groups. They can be used to force a break at the point where they were placed, rendering the next toolbar group in a new row. This placement will not be changed when CKEditor is resized.&lt;br /&gt;
&lt;br /&gt;
== Toolbar Customization ==&lt;br /&gt;
A simple way to configure the toolbars of all CKEditor instances is to add a custom toolbar definition inside the &amp;lt;code&amp;gt;config.js&amp;lt;/code&amp;gt; file, or even better &amp;amp;mdash; in a separate custom configuration file (see [[CKEditor 3.x/Developers Guide/Setting Configurations|Setting Configuration]]). The easiest way to do that is to copy the default '''Full''' toolbar definition, and strip it down to your needs.&lt;br /&gt;
&lt;br /&gt;
For example, the following is a good recommended toolbar definition that can be placed in the &amp;lt;code&amp;gt;config.js&amp;lt;/code&amp;gt; file: &lt;br /&gt;
&amp;lt;source language=&amp;quot;javascript&amp;quot;&amp;gt;&lt;br /&gt;
CKEDITOR.editorConfig = function( config )&lt;br /&gt;
{&lt;br /&gt;
	config.toolbar = 'MyToolbar';&lt;br /&gt;
&lt;br /&gt;
	config.toolbar_MyToolbar =&lt;br /&gt;
	[&lt;br /&gt;
		{ name: 'document', items : [ 'NewPage','Preview' ] },&lt;br /&gt;
		{ name: 'clipboard', items : [ 'Cut','Copy','Paste','PasteText','PasteFromWord','-','Undo','Redo' ] },&lt;br /&gt;
		{ name: 'editing', items : [ 'Find','Replace','-','SelectAll','-','Scayt' ] },&lt;br /&gt;
		{ name: 'insert', items : [ 'Image','Flash','Table','HorizontalRule','Smiley','SpecialChar','PageBreak'&lt;br /&gt;
                 ,'Iframe' ] },&lt;br /&gt;
                '/',&lt;br /&gt;
		{ name: 'styles', items : [ 'Styles','Format' ] },&lt;br /&gt;
		{ name: 'basicstyles', items : [ 'Bold','Italic','Strike','-','RemoveFormat' ] },&lt;br /&gt;
		{ name: 'paragraph', items : [ 'NumberedList','BulletedList','-','Outdent','Indent','-','Blockquote' ] },&lt;br /&gt;
		{ name: 'links', items : [ 'Link','Unlink','Anchor' ] },&lt;br /&gt;
		{ name: 'tools', items : [ 'Maximize','-','About' ] }&lt;br /&gt;
	];&lt;br /&gt;
};&lt;br /&gt;
&amp;lt;/source&amp;gt; &lt;br /&gt;
Inside the configuration file you can create as many toolbar definitions as you need. Later, based on some criteria, you can choose the toolbar to use for each CKEditor instance. Each toolbar definition can be used as many times as required (or not used at all, for that matter). For example, with the following code, two editors are created on the page and each one is using a different toolbar: &lt;br /&gt;
&amp;lt;source language=&amp;quot;javascript&amp;quot;&amp;gt;&lt;br /&gt;
CKEDITOR.replace( 'editor1',&lt;br /&gt;
	{&lt;br /&gt;
		toolbar : 'MyToolbar'&lt;br /&gt;
	});&lt;br /&gt;
&lt;br /&gt;
CKEDITOR.replace( 'editor2',&lt;br /&gt;
	{&lt;br /&gt;
		toolbar : 'Basic'&lt;br /&gt;
	});&lt;br /&gt;
&amp;lt;/source&amp;gt; &lt;br /&gt;
It is also possible to set the toolbar definition in-page, at the same time when you create an editor instance. If this is the case, assign the toolbar setting directly to the editor instance, like in the example below: &lt;br /&gt;
&amp;lt;source language=&amp;quot;javascript&amp;quot;&amp;gt;&lt;br /&gt;
CKEDITOR.replace( 'editor1',&lt;br /&gt;
	{&lt;br /&gt;
		toolbar :&lt;br /&gt;
		[&lt;br /&gt;
			{ name: 'basicstyles', items : [ 'Bold','Italic' ] },&lt;br /&gt;
			{ name: 'paragraph', items : [ 'NumberedList','BulletedList' ] },&lt;br /&gt;
			{ name: 'tools', items : [ 'Maximize','-','About' ] }&lt;br /&gt;
		]&lt;br /&gt;
	});&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;note&amp;gt;Please note that the toolbar definition was changed in '''CKEditor 3.6''', when a concept of toolbar button groups was introduced. This feature is WAI-ARIA compliant and important for accessibility support, so we recommend to upgrade custom definitions created for previous versions and follow the new standard described above.&amp;lt;/note&amp;gt;&lt;/div&gt;</summary>
		<author><name>Mkesicki</name></author>	</entry>

	<entry>
		<id>https://docs-old.ckeditor.com/index.php?title=CKEditor_3.x/Developers_Guide/Toolbar&amp;diff=6373</id>
		<title>CKEditor 3.x/Developers Guide/Toolbar</title>
		<link rel="alternate" type="text/html" href="https://docs-old.ckeditor.com/index.php?title=CKEditor_3.x/Developers_Guide/Toolbar&amp;diff=6373"/>
				<updated>2011-06-14T07:32:49Z</updated>
		
		<summary type="html">&lt;p&gt;Mkesicki: /* Toolbar Definition */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{#CUSTOMTITLE:CKEditor Toolbar}} &lt;br /&gt;
While CKEditor is a full-featured WYSIWYG editor, not all of its options may be needed in all cases. Because of this, toolbar customization is one of the most common and required tasks when dealing with CKEditor. &lt;br /&gt;
&lt;br /&gt;
== Toolbar Definition  ==&lt;br /&gt;
A toolbar definition is a JavaScript array that contains the elements to be displayed in all '''toolbar rows''' available in the editor.&lt;br /&gt;
&lt;br /&gt;
The toolbar configuration can be defined in CKEditor using one of the following methods:&lt;br /&gt;
* The &amp;lt;code&amp;gt;[http://docs.cksource.com/ckeditor_api/symbols/CKEDITOR.config.html#.toolbar toolbar]&amp;lt;/code&amp;gt; setting.&lt;br /&gt;
* The &amp;lt;code&amp;gt;toolbar_''name''&amp;lt;/code&amp;gt; setting, where the &amp;lt;code&amp;gt;''name''&amp;lt;/code&amp;gt; element is the name used to identify the toolbar in the &amp;lt;code&amp;gt;toolbar&amp;lt;/code&amp;gt; setting.&lt;br /&gt;
&lt;br /&gt;
The following code snippet contains the default CKEditor toolbar setting. &lt;br /&gt;
&amp;lt;source language=&amp;quot;js&amp;quot;&amp;gt;&lt;br /&gt;
config.toolbar = 'Full';&lt;br /&gt;
&lt;br /&gt;
config.toolbar_Full =&lt;br /&gt;
[&lt;br /&gt;
	{ name: 'document', items : [ 'Source','-','Save','NewPage','DocProps','Preview','Print','-','Templates' ] },&lt;br /&gt;
	{ name: 'clipboard', items : [ 'Cut','Copy','Paste','PasteText','PasteFromWord','-','Undo','Redo' ] },&lt;br /&gt;
	{ name: 'editing', items : [ 'Find','Replace','-','SelectAll','-','SpellChecker', 'Scayt' ] },&lt;br /&gt;
	{ name: 'forms', items : [ 'Form', 'Checkbox', 'Radio', 'TextField', 'Textarea', 'Select', 'Button', 'ImageButton', &lt;br /&gt;
&lt;br /&gt;
'HiddenField' ] },&lt;br /&gt;
	'/',&lt;br /&gt;
	{ name: 'basicstyles', items : [ 'Bold','Italic','Underline','Strike','Subscript','Superscript','-','RemoveFormat' ] },&lt;br /&gt;
	{ name: 'paragraph', items : [ 'NumberedList','BulletedList','-','Outdent','Indent','-','Blockquote','CreateDiv','-','JustifyLeft','JustifyCenter','JustifyRight','JustifyBlock','-','BidiLtr','BidiRtl' ] },&lt;br /&gt;
	{ name: 'links', items : [ 'Link','Unlink','Anchor' ] },&lt;br /&gt;
	{ name: 'insert', items : [ 'Image','Flash','Table','HorizontalRule','Smiley','SpecialChar','PageBreak','Iframe' ] },&lt;br /&gt;
	'/',&lt;br /&gt;
	{ name: 'styles', items : [ 'Styles','Format','Font','FontSize' ] },&lt;br /&gt;
	{ name: 'colors', items : [ 'TextColor','BGColor' ] },&lt;br /&gt;
	{ name: 'tools', items : [ 'Maximize', 'ShowBlocks','-','About' ] }&lt;br /&gt;
];&lt;br /&gt;
&lt;br /&gt;
config.toolbar_Basic =&lt;br /&gt;
[&lt;br /&gt;
	['Bold', 'Italic', '-', 'NumberedList', 'BulletedList', '-', 'Link', 'Unlink','-','About']&lt;br /&gt;
];&lt;br /&gt;
&amp;lt;/source&amp;gt; &lt;br /&gt;
Note that in the code above (just like in the default CKEditor configuration) two toolbar definitions have been defined. The first one is named '''Full''' and the second one is '''Basic'''. The toolbar was set to use the '''Full''' definition.&lt;br /&gt;
&lt;br /&gt;
=== Toolbar Button Groups ===&lt;br /&gt;
Every toolbar definition is composed of a series of '''toolbar button groups'''. Each toolbar group has a label (name) and the listing of buttons that belong to the group, placed in square brackets (&amp;lt;code&amp;gt;[ ]&amp;lt;/code&amp;gt;). The toolbar group items move together to new rows when the editor is resized.&lt;br /&gt;
&lt;br /&gt;
The group label will be used by assisstive devices such as screen readers. It is added in the &amp;lt;code&amp;gt;name&amp;lt;/code&amp;gt; attribute and is first looked up in the CKEditor language file (under the &amp;lt;code&amp;gt;editor.lang.toolbarGroups.''group_name''&amp;lt;/code&amp;gt; entry). When its definition is found, the text value of this entry is used. If the &amp;lt;code&amp;gt;name&amp;lt;/code&amp;gt; attribute value does not appear in the language file, it is taken as a literal toolbar group label and read aloud.&lt;br /&gt;
&lt;br /&gt;
As visible in the code above, each toolbar button group is defined as a separate JavaScript array of strings. Every string stands for a single toolbar item to be used. Toolbar items are defined by plugins. &lt;br /&gt;
&lt;br /&gt;
You can also include a separator in the toolbar group by including a dash (&amp;lt;code&amp;gt;&amp;quot;-&amp;quot;&amp;lt;/code&amp;gt;) character in it.&lt;br /&gt;
&lt;br /&gt;
=== Forcing Row Break ===&lt;br /&gt;
The '''Full''' definition contains numerous slash (&amp;lt;code&amp;gt;&amp;quot;/&amp;quot;&amp;lt;/code&amp;gt;) characters that were placed between toolbar button groups. They can be used to force a break at the point where they were placed, rendering the next toolbar group in a new row. This placement will not be changed when CKEditor is resized.&lt;br /&gt;
&lt;br /&gt;
== Toolbar Customization ==&lt;br /&gt;
A simple way to configure the toolbars of all CKEditor instances is to add a custom toolbar definition inside the &amp;lt;code&amp;gt;config.js&amp;lt;/code&amp;gt; file, or even better &amp;amp;mdash; in a separate custom configuration file (see [[CKEditor 3.x/Developers Guide/Setting Configurations|Setting Configuration]]). The easiest way to do that is to copy the default '''Full''' toolbar definition, and strip it down to your needs.&lt;br /&gt;
&lt;br /&gt;
For example, the following is a good recommended toolbar definition that can be placed in the &amp;lt;code&amp;gt;config.js&amp;lt;/code&amp;gt; file: &lt;br /&gt;
&amp;lt;source language=&amp;quot;javascript&amp;quot;&amp;gt;&lt;br /&gt;
CKEDITOR.editorConfig = function( config )&lt;br /&gt;
{&lt;br /&gt;
	config.toolbar = 'MyToolbar';&lt;br /&gt;
&lt;br /&gt;
	config.toolbar_MyToolbar =&lt;br /&gt;
	[&lt;br /&gt;
		{ name: 'document', items : [ 'NewPage','Preview' ] },&lt;br /&gt;
		{ name: 'clipboard', items : [ 'Cut','Copy','Paste','PasteText','PasteFromWord','-','Undo','Redo' ] },&lt;br /&gt;
		{ name: 'editing', items : [ 'Find','Replace','-','SelectAll','-','Scayt' ] },&lt;br /&gt;
		{ name: 'insert', items : [ 'Image','Flash','Table','HorizontalRule','Smiley','SpecialChar','PageBreak'&lt;br /&gt;
                 ,'Iframe' ] },&lt;br /&gt;
                '/',&lt;br /&gt;
		{ name: 'styles', items : [ 'Styles','Format' ] },&lt;br /&gt;
		{ name: 'basicstyles', items : [ 'Bold','Italic','Strike','-','RemoveFormat' ] },&lt;br /&gt;
		{ name: 'paragraph', items : [ 'NumberedList','BulletedList','-','Outdent','Indent','-','Blockquote' ] },&lt;br /&gt;
		{ name: 'links', items : [ 'Link','Unlink','Anchor' ] },&lt;br /&gt;
		{ name: 'tools', items : [ 'Maximize','-','About' ] }&lt;br /&gt;
	];&lt;br /&gt;
};&lt;br /&gt;
&amp;lt;/source&amp;gt; &lt;br /&gt;
Inside the configuration file you can create as many toolbar definitions as you need. Later, based on some criteria, you can choose the toolbar to use for each CKEditor instance. Each toolbar definition can be used as many times as required (or not used at all, for that matter). For example, with the following code, two editors are created on the page and each one is using a different toolbar: &lt;br /&gt;
&amp;lt;source language=&amp;quot;javascript&amp;quot;&amp;gt;&lt;br /&gt;
CKEDITOR.replace( 'editor1',&lt;br /&gt;
	{&lt;br /&gt;
		toolbar : 'MyToolbar'&lt;br /&gt;
	});&lt;br /&gt;
&lt;br /&gt;
CKEDITOR.replace( 'editor2',&lt;br /&gt;
	{&lt;br /&gt;
		toolbar : 'Basic'&lt;br /&gt;
	});&lt;br /&gt;
&amp;lt;/source&amp;gt; &lt;br /&gt;
It is also possible to set the toolbar definition in-page, at the same time when you create an editor instance. If this is the case, assign the toolbar setting directly to the editor instance, like in the example below: &lt;br /&gt;
&amp;lt;source language=&amp;quot;javascript&amp;quot;&amp;gt;&lt;br /&gt;
CKEDITOR.replace( 'editor1',&lt;br /&gt;
	{&lt;br /&gt;
		toolbar :&lt;br /&gt;
		[&lt;br /&gt;
			{ name: 'basicstyles', items : [ 'Bold','Italic' ] },&lt;br /&gt;
			{ name: 'paragraph', items : [ 'NumberedList','BulletedList' ] },&lt;br /&gt;
			{ name: 'tools', items : [ 'Maximize','-','About' ] }&lt;br /&gt;
		]&lt;br /&gt;
	});&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;note&amp;gt;Please note that the toolbar definition was changed in '''CKEditor 3.6''', when a concept of toolbar button groups was introduced. This feature is WAI-ARIA compliant and important for accessibility support, so we recommend to upgrade custom definitions created for previous versions and follow the new standard described above.&amp;lt;/note&amp;gt;&lt;/div&gt;</summary>
		<author><name>Mkesicki</name></author>	</entry>

	<entry>
		<id>https://docs-old.ckeditor.com/index.php?title=CKEditor_3.x/Developers_Guide/Toolbar&amp;diff=6372</id>
		<title>CKEditor 3.x/Developers Guide/Toolbar</title>
		<link rel="alternate" type="text/html" href="https://docs-old.ckeditor.com/index.php?title=CKEditor_3.x/Developers_Guide/Toolbar&amp;diff=6372"/>
				<updated>2011-06-14T07:31:45Z</updated>
		
		<summary type="html">&lt;p&gt;Mkesicki: /* Toolbar Customization */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{#CUSTOMTITLE:CKEditor Toolbar}} &lt;br /&gt;
While CKEditor is a full-featured WYSIWYG editor, not all of its options may be needed in all cases. Because of this, toolbar customization is one of the most common and required tasks when dealing with CKEditor. &lt;br /&gt;
&lt;br /&gt;
== Toolbar Definition  ==&lt;br /&gt;
A toolbar definition is a JavaScript array that contains the elements to be displayed in all '''toolbar rows''' available in the editor.&lt;br /&gt;
&lt;br /&gt;
The toolbar configuration can be defined in CKEditor using one of the following methods:&lt;br /&gt;
* The &amp;lt;code&amp;gt;[http://docs.cksource.com/ckeditor_api/symbols/CKEDITOR.config.html#.toolbar toolbar]&amp;lt;/code&amp;gt; setting.&lt;br /&gt;
* The &amp;lt;code&amp;gt;toolbar_''name''&amp;lt;/code&amp;gt; setting, where the &amp;lt;code&amp;gt;''name''&amp;lt;/code&amp;gt; element is the name used to identify the toolbar in the &amp;lt;code&amp;gt;toolbar&amp;lt;/code&amp;gt; setting.&lt;br /&gt;
&lt;br /&gt;
The following code snippet contains the default CKEditor toolbar setting. &lt;br /&gt;
&amp;lt;source language=&amp;quot;js&amp;quot;&amp;gt;&lt;br /&gt;
config.toolbar = 'Full';&lt;br /&gt;
&lt;br /&gt;
config.toolbar_Full =&lt;br /&gt;
[&lt;br /&gt;
	{ name: 'document', items : [ 'Source','-','Save','NewPage','DocProps','Preview','Print','-','Templates' ] },&lt;br /&gt;
	{ name: 'clipboard', items : [ 'Cut','Copy','Paste','PasteText','PasteFromWord','-','Undo','Redo' ] },&lt;br /&gt;
	{ name: 'editing', items : [ 'Find','Replace','-','SelectAll','-','SpellChecker', 'Scayt' ] },&lt;br /&gt;
	{ name: 'forms', items : [ 'Form', 'Checkbox', 'Radio', 'TextField', 'Textarea', 'Select', 'Button', 'ImageButton', 'HiddenField' ] },&lt;br /&gt;
	'/',&lt;br /&gt;
	{ name: 'basicstyles', items : [ 'Bold','Italic','Underline','Strike','Subscript','Superscript','-','RemoveFormat' ] },&lt;br /&gt;
	{ name: 'paragraph', items : [ 'NumberedList','BulletedList','-','Outdent','Indent','-','Blockquote','CreateDiv','-','JustifyLeft','JustifyCenter','JustifyRight','JustifyBlock','-','BidiLtr','BidiRtl' ] },&lt;br /&gt;
	{ name: 'links', items : [ 'Link','Unlink','Anchor' ] },&lt;br /&gt;
	{ name: 'insert', items : [ 'Image','Flash','Table','HorizontalRule','Smiley','SpecialChar','PageBreak','Iframe' ] },&lt;br /&gt;
	'/',&lt;br /&gt;
	{ name: 'styles', items : [ 'Styles','Format','Font','FontSize' ] },&lt;br /&gt;
	{ name: 'colors', items : [ 'TextColor','BGColor' ] },&lt;br /&gt;
	{ name: 'tools', items : [ 'Maximize', 'ShowBlocks','-','About' ] }&lt;br /&gt;
];&lt;br /&gt;
&lt;br /&gt;
config.toolbar_Basic =&lt;br /&gt;
[&lt;br /&gt;
	['Bold', 'Italic', '-', 'NumberedList', 'BulletedList', '-', 'Link', 'Unlink','-','About']&lt;br /&gt;
];&lt;br /&gt;
&amp;lt;/source&amp;gt; &lt;br /&gt;
Note that in the code above (just like in the default CKEditor configuration) two toolbar definitions have been defined. The first one is named '''Full''' and the second one is '''Basic'''. The toolbar was set to use the '''Full''' definition.&lt;br /&gt;
&lt;br /&gt;
=== Toolbar Button Groups ===&lt;br /&gt;
Every toolbar definition is composed of a series of '''toolbar button groups'''. Each toolbar group has a label (name) and the listing of buttons that belong to the group, placed in square brackets (&amp;lt;code&amp;gt;[ ]&amp;lt;/code&amp;gt;). The toolbar group items move together to new rows when the editor is resized.&lt;br /&gt;
&lt;br /&gt;
The group label will be used by assisstive devices such as screen readers. It is added in the &amp;lt;code&amp;gt;name&amp;lt;/code&amp;gt; attribute and is first looked up in the CKEditor language file (under the &amp;lt;code&amp;gt;editor.lang.toolbarGroups.''group_name''&amp;lt;/code&amp;gt; entry). When its definition is found, the text value of this entry is used. If the &amp;lt;code&amp;gt;name&amp;lt;/code&amp;gt; attribute value does not appear in the language file, it is taken as a literal toolbar group label and read aloud.&lt;br /&gt;
&lt;br /&gt;
As visible in the code above, each toolbar button group is defined as a separate JavaScript array of strings. Every string stands for a single toolbar item to be used. Toolbar items are defined by plugins. &lt;br /&gt;
&lt;br /&gt;
You can also include a separator in the toolbar group by including a dash (&amp;lt;code&amp;gt;&amp;quot;-&amp;quot;&amp;lt;/code&amp;gt;) character in it.&lt;br /&gt;
&lt;br /&gt;
=== Forcing Row Break ===&lt;br /&gt;
The '''Full''' definition contains numerous slash (&amp;lt;code&amp;gt;&amp;quot;/&amp;quot;&amp;lt;/code&amp;gt;) characters that were placed between toolbar button groups. They can be used to force a break at the point where they were placed, rendering the next toolbar group in a new row. This placement will not be changed when CKEditor is resized.&lt;br /&gt;
&lt;br /&gt;
== Toolbar Customization ==&lt;br /&gt;
A simple way to configure the toolbars of all CKEditor instances is to add a custom toolbar definition inside the &amp;lt;code&amp;gt;config.js&amp;lt;/code&amp;gt; file, or even better &amp;amp;mdash; in a separate custom configuration file (see [[CKEditor 3.x/Developers Guide/Setting Configurations|Setting Configuration]]). The easiest way to do that is to copy the default '''Full''' toolbar definition, and strip it down to your needs.&lt;br /&gt;
&lt;br /&gt;
For example, the following is a good recommended toolbar definition that can be placed in the &amp;lt;code&amp;gt;config.js&amp;lt;/code&amp;gt; file: &lt;br /&gt;
&amp;lt;source language=&amp;quot;javascript&amp;quot;&amp;gt;&lt;br /&gt;
CKEDITOR.editorConfig = function( config )&lt;br /&gt;
{&lt;br /&gt;
	config.toolbar = 'MyToolbar';&lt;br /&gt;
&lt;br /&gt;
	config.toolbar_MyToolbar =&lt;br /&gt;
	[&lt;br /&gt;
		{ name: 'document', items : [ 'NewPage','Preview' ] },&lt;br /&gt;
		{ name: 'clipboard', items : [ 'Cut','Copy','Paste','PasteText','PasteFromWord','-','Undo','Redo' ] },&lt;br /&gt;
		{ name: 'editing', items : [ 'Find','Replace','-','SelectAll','-','Scayt' ] },&lt;br /&gt;
		{ name: 'insert', items : [ 'Image','Flash','Table','HorizontalRule','Smiley','SpecialChar','PageBreak'&lt;br /&gt;
                 ,'Iframe' ] },&lt;br /&gt;
                '/',&lt;br /&gt;
		{ name: 'styles', items : [ 'Styles','Format' ] },&lt;br /&gt;
		{ name: 'basicstyles', items : [ 'Bold','Italic','Strike','-','RemoveFormat' ] },&lt;br /&gt;
		{ name: 'paragraph', items : [ 'NumberedList','BulletedList','-','Outdent','Indent','-','Blockquote' ] },&lt;br /&gt;
		{ name: 'links', items : [ 'Link','Unlink','Anchor' ] },&lt;br /&gt;
		{ name: 'tools', items : [ 'Maximize','-','About' ] }&lt;br /&gt;
	];&lt;br /&gt;
};&lt;br /&gt;
&amp;lt;/source&amp;gt; &lt;br /&gt;
Inside the configuration file you can create as many toolbar definitions as you need. Later, based on some criteria, you can choose the toolbar to use for each CKEditor instance. Each toolbar definition can be used as many times as required (or not used at all, for that matter). For example, with the following code, two editors are created on the page and each one is using a different toolbar: &lt;br /&gt;
&amp;lt;source language=&amp;quot;javascript&amp;quot;&amp;gt;&lt;br /&gt;
CKEDITOR.replace( 'editor1',&lt;br /&gt;
	{&lt;br /&gt;
		toolbar : 'MyToolbar'&lt;br /&gt;
	});&lt;br /&gt;
&lt;br /&gt;
CKEDITOR.replace( 'editor2',&lt;br /&gt;
	{&lt;br /&gt;
		toolbar : 'Basic'&lt;br /&gt;
	});&lt;br /&gt;
&amp;lt;/source&amp;gt; &lt;br /&gt;
It is also possible to set the toolbar definition in-page, at the same time when you create an editor instance. If this is the case, assign the toolbar setting directly to the editor instance, like in the example below: &lt;br /&gt;
&amp;lt;source language=&amp;quot;javascript&amp;quot;&amp;gt;&lt;br /&gt;
CKEDITOR.replace( 'editor1',&lt;br /&gt;
	{&lt;br /&gt;
		toolbar :&lt;br /&gt;
		[&lt;br /&gt;
			{ name: 'basicstyles', items : [ 'Bold','Italic' ] },&lt;br /&gt;
			{ name: 'paragraph', items : [ 'NumberedList','BulletedList' ] },&lt;br /&gt;
			{ name: 'tools', items : [ 'Maximize','-','About' ] }&lt;br /&gt;
		]&lt;br /&gt;
	});&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;note&amp;gt;Please note that the toolbar definition was changed in '''CKEditor 3.6''', when a concept of toolbar button groups was introduced. This feature is WAI-ARIA compliant and important for accessibility support, so we recommend to upgrade custom definitions created for previous versions and follow the new standard described above.&amp;lt;/note&amp;gt;&lt;/div&gt;</summary>
		<author><name>Mkesicki</name></author>	</entry>

	<entry>
		<id>https://docs-old.ckeditor.com/index.php?title=CKEditor_3.x/Developers_Guide/Toolbar&amp;diff=4115</id>
		<title>CKEditor 3.x/Developers Guide/Toolbar</title>
		<link rel="alternate" type="text/html" href="https://docs-old.ckeditor.com/index.php?title=CKEditor_3.x/Developers_Guide/Toolbar&amp;diff=4115"/>
				<updated>2010-09-03T06:11:15Z</updated>
		
		<summary type="html">&lt;p&gt;Mkesicki: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;While the editor is full featured, not all options may be needed in all cases. Because of this, customizing the toolbar is one of the most common and required tasks when dealing with CKEditor. &lt;br /&gt;
&lt;br /&gt;
== Toolbar definition  ==&lt;br /&gt;
&lt;br /&gt;
A toolbar definition is a JavaScript array that contains the elements to be displayed in all &amp;quot;toolbar rows&amp;quot; available in the editor. There are two ways to set the desired toolbar definition in the editor. It can be set directly into the &amp;quot;toolbar&amp;quot; setting, or it can instead be set to a configuration named &amp;quot;toolbar_&amp;amp;lt;name&amp;amp;gt;&amp;quot;, where &amp;quot;&amp;amp;lt;name&amp;amp;gt;&amp;quot; is a name that can be used to identify the toolbar in the &amp;quot;[http://docs.cksource.com/ckeditor_api/symbols/CKEDITOR.config.html#.toolbar toolbar]&amp;quot; setting. The following is the default setting we have in the editor. &lt;br /&gt;
&amp;lt;pre&amp;gt;config.toolbar = 'Full';&lt;br /&gt;
&lt;br /&gt;
config.toolbar_Full =&lt;br /&gt;
[&lt;br /&gt;
    ['Source','-','Save','NewPage','Preview','-','Templates'],&lt;br /&gt;
    ['Cut','Copy','Paste','PasteText','PasteFromWord','-','Print', 'SpellChecker', 'Scayt'],&lt;br /&gt;
    ['Undo','Redo','-','Find','Replace','-','SelectAll','RemoveFormat'],&lt;br /&gt;
    ['Form', 'Checkbox', 'Radio', 'TextField', 'Textarea', 'Select', 'Button', 'ImageButton', 'HiddenField'],&lt;br /&gt;
    ['BidiLtr', 'BidiRtl'],&lt;br /&gt;
    '/',&lt;br /&gt;
    ['Bold','Italic','Underline','Strike','-','Subscript','Superscript'],&lt;br /&gt;
    ['NumberedList','BulletedList','-','Outdent','Indent','Blockquote','CreateDiv'],&lt;br /&gt;
    ['JustifyLeft','JustifyCenter','JustifyRight','JustifyBlock'],&lt;br /&gt;
    ['Link','Unlink','Anchor'],&lt;br /&gt;
    ['Image','Flash','Table','HorizontalRule','Smiley','SpecialChar','PageBreak'],&lt;br /&gt;
    '/',&lt;br /&gt;
    ['Styles','Format','Font','FontSize'],&lt;br /&gt;
    ['TextColor','BGColor'],&lt;br /&gt;
    ['Maximize', 'ShowBlocks','-','About']&lt;br /&gt;
];&lt;br /&gt;
&lt;br /&gt;
config.toolbar_Basic =&lt;br /&gt;
[&lt;br /&gt;
    ['Bold', 'Italic', '-', 'NumberedList', 'BulletedList', '-', 'Link', 'Unlink','-','About']&lt;br /&gt;
];&lt;br /&gt;
&amp;lt;/pre&amp;gt; &lt;br /&gt;
Note that two toolbar definitions have been defined, one named &amp;quot;Full&amp;quot; and the other &amp;quot;Basic&amp;quot;. The &amp;quot;Full&amp;quot; definition has been set to be used in the toolbar setting. &lt;br /&gt;
&lt;br /&gt;
=== Toolbar Bands  ===&lt;br /&gt;
&lt;br /&gt;
Every toolbar definition is composed of a series of &amp;quot;toolbar bands&amp;quot; that are grouped in the final toolbar layout. The bands items move together on new rows when resizing the editor. &lt;br /&gt;
&lt;br /&gt;
As you can see in the above definitions, every toolbar band is defined as a separated JavaScript array of strings. Every string indicates toolbar item to be used. Toolbar items are defined by plugins. &lt;br /&gt;
&lt;br /&gt;
You can also include a separator in the toolbar band by including the dash (&amp;quot;-&amp;quot;) character on it. &lt;br /&gt;
&lt;br /&gt;
=== Forcing Row Break  ===&lt;br /&gt;
&lt;br /&gt;
Looking at the &amp;quot;Full&amp;quot; definition you will note some slash (&amp;quot;/&amp;quot;) characters between toolbar bands. This slash can be used to force a break at that point, having the next band to be rendered in a new row and not following the previous one.&lt;br /&gt;
&lt;br /&gt;
== Customizing the toolbar  ==&lt;br /&gt;
&lt;br /&gt;
A simple way to configure all editors toolbar is by simply adding a custom toolbar definition inside the config.js file, or even better in a separated configuration file (see &amp;quot;[[CKEditor_3.x/Developers_Guide/Setting_Configurations|Setting Configurations]]&amp;quot;). The easiest way for that is by simply copying the above &amp;quot;Full&amp;quot; toolbar definition, and strip it down to your needs. For example, the following is a good recommended toolbar definition to have in the config.js file: &lt;br /&gt;
&amp;lt;pre&amp;gt;CKEDITOR.editorConfig = function( config )&lt;br /&gt;
{&lt;br /&gt;
    config.toolbar = 'MyToolbar';&lt;br /&gt;
&lt;br /&gt;
    config.toolbar_MyToolbar =&lt;br /&gt;
    [&lt;br /&gt;
        ['NewPage','Preview'],&lt;br /&gt;
        ['Cut','Copy','Paste','PasteText','PasteFromWord','-','Scayt'],&lt;br /&gt;
        ['Undo','Redo','-','Find','Replace','-','SelectAll','RemoveFormat'],&lt;br /&gt;
        ['Image','Flash','Table','HorizontalRule','Smiley','SpecialChar','PageBreak'],&lt;br /&gt;
        '/',&lt;br /&gt;
        ['Styles','Format'],&lt;br /&gt;
        ['Bold','Italic','Strike'],&lt;br /&gt;
        ['NumberedList','BulletedList','-','Outdent','Indent','Blockquote'],&lt;br /&gt;
        ['Link','Unlink','Anchor'],&lt;br /&gt;
        ['Maximize','-','About']&lt;br /&gt;
    ];&lt;br /&gt;
};&lt;br /&gt;
&amp;lt;/pre&amp;gt; &lt;br /&gt;
You can create as many toolbar definitions as you want inside the configuration file. Later, based on some criteria, you can decide the toolbar to use for each editor instance. For example, with the following code, two editors are created in the page, each one using a different toolbar: &lt;br /&gt;
&amp;lt;pre&amp;gt;CKEDITOR.replace( 'editor1',&lt;br /&gt;
    {&lt;br /&gt;
        toolbar&amp;amp;nbsp;: 'MyToolbar'&lt;br /&gt;
    });&lt;br /&gt;
&lt;br /&gt;
CKEDITOR.replace( 'editor2',&lt;br /&gt;
    {&lt;br /&gt;
        toolbar&amp;amp;nbsp;: 'Basic'&lt;br /&gt;
    });&lt;br /&gt;
&amp;lt;/pre&amp;gt; &lt;br /&gt;
It's also possible to set the toolbar definition in-page, when creating the editor instance directly. In that case, just assign it to the toolbar setting directly, for example: &lt;br /&gt;
&amp;lt;pre&amp;gt;CKEDITOR.replace( 'editor1',&lt;br /&gt;
    {&lt;br /&gt;
        toolbar&amp;amp;nbsp;:&lt;br /&gt;
        [&lt;br /&gt;
            ['Styles', 'Format'],&lt;br /&gt;
            ['Bold', 'Italic', '-', 'NumberedList', 'BulletedList', '-', 'Link', '-', 'About']&lt;br /&gt;
        ]&lt;br /&gt;
    });&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;/div&gt;</summary>
		<author><name>Mkesicki</name></author>	</entry>

	<entry>
		<id>https://docs-old.ckeditor.com/index.php?title=CKEditor_3.x/Developers_Guide/Toolbar&amp;diff=3736</id>
		<title>CKEditor 3.x/Developers Guide/Toolbar</title>
		<link rel="alternate" type="text/html" href="https://docs-old.ckeditor.com/index.php?title=CKEditor_3.x/Developers_Guide/Toolbar&amp;diff=3736"/>
				<updated>2010-08-19T12:24:08Z</updated>
		
		<summary type="html">&lt;p&gt;Mkesicki: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;While the editor is full featured, not all options may be needed in all cases. Because of this, customizing the toolbar is one of the most common and required tasks when dealing with CKEditor. &lt;br /&gt;
&lt;br /&gt;
== Toolbar definition  ==&lt;br /&gt;
&lt;br /&gt;
A toolbar definition is a JavaScript array that contains the elements to be displayed in all &amp;quot;toolbar rows&amp;quot; available in the editor. There are two ways to set the desired toolbar definition in the editor. It can be set directly into the &amp;quot;toolbar&amp;quot; setting, or it can instead be set to a configuration named &amp;quot;toolbar_&amp;amp;lt;name&amp;amp;gt;&amp;quot;, where &amp;quot;&amp;amp;lt;name&amp;amp;gt;&amp;quot; is a name that can be used to identify the toolbar in the &amp;quot;[http://docs.cksource.com/ckeditor_api/symbols/CKEDITOR.config.html#.toolbar toolbar]&amp;quot; setting. The following is the default setting we have in the editor. &lt;br /&gt;
&amp;lt;pre&amp;gt;config.toolbar = 'Full';&lt;br /&gt;
&lt;br /&gt;
config.toolbar_Full =&lt;br /&gt;
[&lt;br /&gt;
    ['Source','-','Save','NewPage','Preview','-','Templates'],&lt;br /&gt;
    ['Cut','Copy','Paste','PasteText','PasteFromWord','-','Print', 'SpellChecker', 'Scayt'],&lt;br /&gt;
    ['Undo','Redo','-','Find','Replace','-','SelectAll','RemoveFormat'],&lt;br /&gt;
    ['Form', 'Checkbox', 'Radio', 'TextField', 'Textarea', 'Select', 'Button', 'ImageButton', 'HiddenField'],&lt;br /&gt;
    ['BidiLtr' 'BidiRtl'],&lt;br /&gt;
    '/',&lt;br /&gt;
    ['Bold','Italic','Underline','Strike','-','Subscript','Superscript'],&lt;br /&gt;
    ['NumberedList','BulletedList','-','Outdent','Indent','Blockquote','CreateDiv'],&lt;br /&gt;
    ['JustifyLeft','JustifyCenter','JustifyRight','JustifyBlock'],&lt;br /&gt;
    ['Link','Unlink','Anchor'],&lt;br /&gt;
    ['Image','Flash','Table','HorizontalRule','Smiley','SpecialChar','PageBreak'],&lt;br /&gt;
    '/',&lt;br /&gt;
    ['Styles','Format','Font','FontSize'],&lt;br /&gt;
    ['TextColor','BGColor'],&lt;br /&gt;
    ['Maximize', 'ShowBlocks','-','About']&lt;br /&gt;
];&lt;br /&gt;
&lt;br /&gt;
config.toolbar_Basic =&lt;br /&gt;
[&lt;br /&gt;
    ['Bold', 'Italic', '-', 'NumberedList', 'BulletedList', '-', 'Link', 'Unlink','-','About']&lt;br /&gt;
];&lt;br /&gt;
&amp;lt;/pre&amp;gt; &lt;br /&gt;
Note that two toolbar definitions have been defined, one named &amp;quot;Full&amp;quot; and the other &amp;quot;Basic&amp;quot;. The &amp;quot;Full&amp;quot; definition has been set to be used in the toolbar setting. &lt;br /&gt;
&lt;br /&gt;
=== Toolbar Bands  ===&lt;br /&gt;
&lt;br /&gt;
Every toolbar definition is composed of a series of &amp;quot;toolbar bands&amp;quot; that are grouped in the final toolbar layout. The bands items move together on new rows when resizing the editor. &lt;br /&gt;
&lt;br /&gt;
As you can see in the above definitions, every toolbar band is defined as a separated JavaScript array of strings. Every string indicates toolbar item to be used. Toolbar items are defined by plugins. &lt;br /&gt;
&lt;br /&gt;
You can also include a separator in the toolbar band by including the dash (&amp;quot;-&amp;quot;) character on it. &lt;br /&gt;
&lt;br /&gt;
=== Forcing Row Break  ===&lt;br /&gt;
&lt;br /&gt;
Looking at the &amp;quot;Full&amp;quot; definition you will note some slash (&amp;quot;/&amp;quot;) characters between toolbar bands. This slash can be used to force a break at that point, having the next band to be rendered in a new row and not following the previous one.&lt;br /&gt;
&lt;br /&gt;
== Customizing the toolbar  ==&lt;br /&gt;
&lt;br /&gt;
A simple way to configure all editors toolbar is by simply adding a custom toolbar definition inside the config.js file, or even better in a separated configuration file (see &amp;quot;[[CKEditor_3.x/Developers_Guide/Setting_Configurations|Setting Configurations]]&amp;quot;). The easiest way for that is by simply copying the above &amp;quot;Full&amp;quot; toolbar definition, and strip it down to your needs. For example, the following is a good recommended toolbar definition to have in the config.js file: &lt;br /&gt;
&amp;lt;pre&amp;gt;CKEDITOR.editorConfig = function( config )&lt;br /&gt;
{&lt;br /&gt;
    config.toolbar = 'MyToolbar';&lt;br /&gt;
&lt;br /&gt;
    config.toolbar_MyToolbar =&lt;br /&gt;
    [&lt;br /&gt;
        ['NewPage','Preview'],&lt;br /&gt;
        ['Cut','Copy','Paste','PasteText','PasteFromWord','-','Scayt'],&lt;br /&gt;
        ['Undo','Redo','-','Find','Replace','-','SelectAll','RemoveFormat'],&lt;br /&gt;
        ['Image','Flash','Table','HorizontalRule','Smiley','SpecialChar','PageBreak'],&lt;br /&gt;
        '/',&lt;br /&gt;
        ['Styles','Format'],&lt;br /&gt;
        ['Bold','Italic','Strike'],&lt;br /&gt;
        ['NumberedList','BulletedList','-','Outdent','Indent','Blockquote'],&lt;br /&gt;
        ['Link','Unlink','Anchor'],&lt;br /&gt;
        ['Maximize','-','About']&lt;br /&gt;
    ];&lt;br /&gt;
};&lt;br /&gt;
&amp;lt;/pre&amp;gt; &lt;br /&gt;
You can create as many toolbar definitions as you want inside the configuration file. Later, based on some criteria, you can decide the toolbar to use for each editor instance. For example, with the following code, two editors are created in the page, each one using a different toolbar: &lt;br /&gt;
&amp;lt;pre&amp;gt;CKEDITOR.replace( 'editor1',&lt;br /&gt;
    {&lt;br /&gt;
        toolbar&amp;amp;nbsp;: 'MyToolbar'&lt;br /&gt;
    });&lt;br /&gt;
&lt;br /&gt;
CKEDITOR.replace( 'editor2',&lt;br /&gt;
    {&lt;br /&gt;
        toolbar&amp;amp;nbsp;: 'Basic'&lt;br /&gt;
    });&lt;br /&gt;
&amp;lt;/pre&amp;gt; &lt;br /&gt;
It's also possible to set the toolbar definition in-page, when creating the editor instance directly. In that case, just assign it to the toolbar setting directly, for example: &lt;br /&gt;
&amp;lt;pre&amp;gt;CKEDITOR.replace( 'editor1',&lt;br /&gt;
    {&lt;br /&gt;
        toolbar&amp;amp;nbsp;:&lt;br /&gt;
        [&lt;br /&gt;
            ['Styles', 'Format'],&lt;br /&gt;
            ['Bold', 'Italic', '-', 'NumberedList', 'BulletedList', '-', 'Link', '-', 'About']&lt;br /&gt;
        ]&lt;br /&gt;
    });&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;/div&gt;</summary>
		<author><name>Mkesicki</name></author>	</entry>

	</feed>