source: trunk/admin/inc/ckeditor/_source/plugins/docprops/plugin.js@ 239

Last change on this file since 239 was 239, checked in by luc, 9 years ago

Admin: correzione visulaizzazione immissione dati spoglio per Chrome e Safari - Aggiornamento dell'editor da FCKeditor a CKeditor , accessibili anche a Chrome e Safari.

  • Property svn:executable set to *
File size: 611 bytes
Line 
1/*
2Copyright (c) 2003-2011, CKSource - Frederico Knabben. All rights reserved.
3For licensing, see LICENSE.html or http://ckeditor.com/license
4*/
5
6CKEDITOR.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});
Note: See TracBrowser for help on using the repository browser.