d905bdf0097428eed952e6b8502d09cbb043a1c4
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( 'docprops',
8 init : function( editor
)
10 var cmd
= new CKEDITOR
.dialogCommand( 'docProps' );
11 // Only applicable on full page mode.
12 cmd
.modes
= { wysiwyg
: editor
.config
.fullPage
};
13 editor
.addCommand( 'docProps', cmd
);
14 CKEDITOR
.dialog
.add( 'docProps', this.path
+ 'dialogs/docprops.js' );
16 editor
.ui
.addButton( 'DocProps',
18 label
: editor
.lang
.docprops
.label
,