Ticket #4530: 4530.patch
File 4530.patch, 823 bytes (added by , 14 years ago) |
---|
-
_source/plugins/contextmenu/plugin.js
145 145 0, this ); 146 146 }, 147 147 this ); 148 149 // Opera doesn't support 'contextmenu' event, considering the fact 150 // that ctrl/meta key is not been occupied for multiple range selecting 151 // (like Gecko), we use control/meta key + left mouse click to represent it. (#4530) 152 if( CKEDITOR.env.opera ) 153 { 154 element.on( 'mousedown', function ( evt ) 155 { 156 if ( evt.data.getKeystroke() == CKEDITOR.CTRL + 1 ) 157 element.fire( 'contextmenu', evt.data ); 158 } ); 159 } 148 160 }, 149 161 150 162 addListener : function( listenerFn )