source: trunk/admin/inc/ckeditor/_source/plugins/about/plugin.js@ 292

Last change on this file since 292 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: 619 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( 'about',
7{
8 requires : [ 'dialog' ],
9 init : function( editor )
10 {
11 var command = editor.addCommand( 'about', new CKEDITOR.dialogCommand( 'about' ) );
12 command.modes = { wysiwyg:1, source:1 };
13 command.canUndo = false;
14 command.readOnly = 1;
15
16 editor.ui.addButton( 'About',
17 {
18 label : editor.lang.about.title,
19 command : 'about'
20 });
21
22 CKEDITOR.dialog.add( 'about', this.path + 'dialogs/about.js' );
23 }
24});
Note: See TracBrowser for help on using the repository browser.