Revision 3019,
567 bytes
checked in by amuller, 14 years ago
(diff) |
Ticket #1135 - Corrigindo CSS e adicionando filemanager
|
Line | |
---|
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 | CKEDITOR.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.