2 Copyright (c) 2003-2010, CKSource - Frederico Knabben. All rights reserved.
\r
3 For licensing, see LICENSE.html or http://ckeditor.com/license
\r
7 * @file Special Character plugin
\r
10 CKEDITOR.plugins.add( 'specialchar',
\r
12 init : function( editor )
\r
14 var pluginName = 'specialchar';
\r
16 // Register the dialog.
\r
17 CKEDITOR.dialog.add( pluginName, this.path + 'dialogs/specialchar.js' );
\r
19 // Register the command.
\r
20 editor.addCommand( pluginName, new CKEDITOR.dialogCommand( pluginName ) );
\r
22 // Register the toolbar button.
\r
23 editor.ui.addButton( 'SpecialChar',
\r
25 label : editor.lang.specialChar.toolbar,
\r
26 command : pluginName
\r