Revision 3019,
694 bytes
checked in by amuller, 14 years ago
(diff) |
Ticket #1135 - Corrigindo CSS e adicionando filemanager
|
Rev | Line | |
---|
[3019] | 1 | /*
|
---|
| 2 | Copyright (c) 2003-2009, CKSource - Frederico Knabben. All rights reserved.
|
---|
| 3 | For licensing, see LICENSE.html or http://ckeditor.com/license
|
---|
| 4 | */
|
---|
| 5 |
|
---|
| 6 | /**
|
---|
| 7 | * @file Special Character plugin
|
---|
| 8 | */
|
---|
| 9 |
|
---|
| 10 | CKEDITOR.plugins.add( 'specialchar',
|
---|
| 11 | {
|
---|
| 12 | init : function( editor )
|
---|
| 13 | {
|
---|
| 14 | var pluginName = 'specialchar';
|
---|
| 15 |
|
---|
| 16 | // Register the dialog.
|
---|
| 17 | CKEDITOR.dialog.add( pluginName, this.path + 'dialogs/specialchar.js' );
|
---|
| 18 |
|
---|
| 19 | // Register the command.
|
---|
| 20 | editor.addCommand( pluginName, new CKEDITOR.dialogCommand( pluginName ) );
|
---|
| 21 |
|
---|
| 22 | // Register the toolbar button.
|
---|
| 23 | editor.ui.addButton( 'SpecialChar',
|
---|
| 24 | {
|
---|
| 25 | label : editor.lang.specialChar.toolbar,
|
---|
| 26 | command : pluginName
|
---|
| 27 | });
|
---|
| 28 | }
|
---|
| 29 | } );
|
---|
Note: See
TracBrowser
for help on using the repository browser.