[ Index ]

PHP Cross Reference of Drupal 6 (gatewave)

title

Body

[close]

/sites/all/libraries/ckeditor/_source/plugins/about/ -> plugin.js (source)

   1  /*

   2  Copyright (c) 2003-2010, CKSource - Frederico Knabben. All rights reserved.

   3  For licensing, see LICENSE.html or http://ckeditor.com/license

   4  */
   5  
   6  CKEDITOR.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  
  15          editor.ui.addButton( 'About',
  16              {
  17                  label : editor.lang.about.title,
  18                  command : 'about'
  19              });
  20  
  21          CKEDITOR.dialog.add( 'about', this.path + 'dialogs/about.js' );
  22      }
  23  });


Generated: Thu Mar 24 11:18:33 2011 Cross-referenced by PHPXref 0.7