2 Copyright (c) 2003-2011, CKSource - Frederico Knabben. All rights reserved.
3 For licensing, see LICENSE.html or http://ckeditor.com/license
6 CKEDITOR
.plugins
.add( 'about',
8 requires
: [ 'dialog' ],
9 init : function( editor
)
11 var command
= editor
.addCommand( 'about', new CKEDITOR
.dialogCommand( 'about' ) );
12 command
.modes
= { wysiwyg
:1, source
:1 };
13 command
.canUndo
= false;
16 editor
.ui
.addButton( 'About',
18 label
: editor
.lang
.about
.title
,
22 CKEDITOR
.dialog
.add( 'about', this.path
+ 'dialogs/about.js' );