Ticket #6404: 6404.patch
File 6404.patch, 745 bytes (added by , 13 years ago) |
---|
-
_source/plugins/contextmenu/plugin.js
1 /*1 /* 2 2 Copyright (c) 2003-2010, CKSource - Frederico Knabben. All rights reserved. 3 3 For licensing, see LICENSE.html or http://ckeditor.com/license 4 4 */ 5 6 5 CKEDITOR.plugins.add( 'contextmenu', 7 6 { 8 7 requires : [ 'menu' ], … … 98 97 }; 99 98 } 100 99 100 editor.on( 'mode' , function() 101 { 102 if ( editor.mode == 'source' ) 103 { 104 menu.hide(); 105 editor.focus(); 106 } 107 }) 108 101 109 var listeners = this._.listeners, 102 110 includedItems = []; 103 111