Monotone-Parent: dbd490c81ea6cac4c12b2e17661e2fef43219e68 Monotone-Revision: 0801dc9f1e4fdc49ea44fc0450fb025c2639ed26 Monotone-Author: crobert@inverse.ca Monotone-Date: 2009-06-25T19:18:02 Monotone-Branch: ca.inverse.sogo
30 lines
694 B
JavaScript
30 lines
694 B
JavaScript
/*
|
|
Copyright (c) 2003-2009, CKSource - Frederico Knabben. All rights reserved.
|
|
For licensing, see LICENSE.html or http://ckeditor.com/license
|
|
*/
|
|
|
|
/**
|
|
* @file Special Character plugin
|
|
*/
|
|
|
|
CKEDITOR.plugins.add( 'specialchar',
|
|
{
|
|
init : function( editor )
|
|
{
|
|
var pluginName = 'specialchar';
|
|
|
|
// Register the dialog.
|
|
CKEDITOR.dialog.add( pluginName, this.path + 'dialogs/specialchar.js' );
|
|
|
|
// Register the command.
|
|
editor.addCommand( pluginName, new CKEDITOR.dialogCommand( pluginName ) );
|
|
|
|
// Register the toolbar button.
|
|
editor.ui.addButton( 'SpecialChar',
|
|
{
|
|
label : editor.lang.specialChar.toolbar,
|
|
command : pluginName
|
|
});
|
|
}
|
|
} );
|