6 * LICENSE: This source file is licensed under the terms of the GNU General Public License.
8 * @package Magic3 Framework
9 * @author 平田直毅(Naoki Hirata) <naoki@aplo.co.jp>
10 * @copyright Copyright 2006-2013 Magic3 Project.
11 * @license http://www.gnu.org/copyleft/gpl.html GPL License
12 * @version SVN: $Id: plugin.js 5938 2013-04-16 23:20:50Z fishbone $
13 * @link http://www.magic3.org
16 var pluginName = 'linkinfo';
18 // Register a plugin named "linkinfo".
19 CKEDITOR.plugins.add( pluginName, {
22 init: function( editor ) {
23 //if ( editor.blockless ) return;
25 editor.addCommand( pluginName, new CKEDITOR.dialogCommand( 'linkinfoDialog' ) );
26 CKEDITOR.dialog.add( 'linkinfoDialog', this.path + 'dialogs/linkinfo.js' );
28 editor.ui.addButton && editor.ui.addButton( 'LinkInfo', {
29 label: editor.lang.linkinfo.toolbar,