source: trunk/filemanager/tp/ckeditor/_source/plugins/about/plugin.js @ 2000

Revision 2000, 567 bytes checked in by amuller, 14 years ago (diff)

Ticket #597 - Implementação do módulo gerenciador de arquivos

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