source: sandbox/3.0/phpgwapi/js/ckeditor/_source/plugins/about/plugin.js @ 2862

Revision 2862, 594 bytes checked in by rodsouza, 14 years ago (diff)

Ticket #663 - Atualizando e centralizando o CKEditor (v. 3.2.1)

Line 
1/*
2Copyright (c) 2003-2010, CKSource - Frederico Knabben. All rights reserved.
3For licensing, see LICENSE.html or http://ckeditor.com/license
4*/
5
6CKEDITOR.plugins.add( 'about',
7{
8        requires : [ 'dialog' ],
9        init : function( editor )
10        {
11                var command = editor.addCommand( 'about', new CKEDITOR.dialogCommand( 'about' ) );
12                command.modes = { wysiwyg:1, source:1 };
13                command.canUndo = false;
14
15                editor.ui.addButton( 'About',
16                        {
17                                label : editor.lang.about.title,
18                                command : 'about'
19                        });
20
21                CKEDITOR.dialog.add( 'about', this.path + 'dialogs/about.js' );
22        }
23});
Note: See TracBrowser for help on using the repository browser.