Bugfix : la localisation des zpt ne fonctionnait plus. « request » était mal initiali...
[ckeditor.git] / skins / ckeditor / _source / plugins / docprops / plugin.js
1 /*
2 Copyright (c) 2003-2011, CKSource - Frederico Knabben. All rights reserved.
3 For licensing, see LICENSE.html or http://ckeditor.com/license
4 */
5
6 CKEDITOR.plugins.add( 'docprops',
7 {
8 init : function( editor )
9 {
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' );
15
16 editor.ui.addButton( 'DocProps',
17 {
18 label : editor.lang.docprops.label,
19 command : 'docProps'
20 });
21 }
22 });