2 Copyright (c) 2003-2012, CKSource - Frederico Knabben. All rights reserved.
\r
3 For licensing, see LICENSE.html or http://ckeditor.com/license
\r
6 CKEDITOR.plugins.add( 'docprops',
\r
8 init : function( editor )
\r
10 var cmd = new CKEDITOR.dialogCommand( 'docProps' );
\r
11 // Only applicable on full page mode.
\r
12 cmd.modes = { wysiwyg : editor.config.fullPage };
\r
13 editor.addCommand( 'docProps', cmd );
\r
14 CKEDITOR.dialog.add( 'docProps', this.path + 'dialogs/docprops.js' );
\r
16 editor.ui.addButton( 'DocProps',
\r
18 label : editor.lang.docprops.label,
\r
19 command : 'docProps'
\r