Ticket #6211: 6211.patch
File 6211.patch, 1.0 KB (added by , 14 years ago) |
---|
-
contextmenu/plugin.js
201 201 element.on( 'contextmenu', function( event ) 202 202 { 203 203 var domEvent = event.data; 204 205 if( CKEDITOR.env.mac || CKEDITOR.env.opera ) 206 this._.target = domEvent.getTarget(); 204 207 205 208 if ( nativeContextMenuOnCtrl && 206 209 // Safari on Windows always show 'ctrlKey' as true in 'contextmenu' event, -
scayt/plugin.js
626 626 return null; 627 627 628 628 var scayt_control = plugin.getScayt( editor ), 629 node = scayt_control.getScaytNode();629 node = CKEDITOR.env.mac || CKEDITOR.env.opera ? scayt_control.getScaytNode(editor.contextMenu._.target.$) : scayt_control.getScaytNode(); 630 630 631 631 if ( !node ) 632 632 return null;